Commit Graph

771 Commits

Author SHA1 Message Date
tg
bfa79a4e4b plug part of the history problems until we can do better:
do not change the underlying file when truncating; rather,
copy everything back from the tmpfile to histfd while the
latter is locked
2017-08-07 20:40:57 +00:00
tg
ed36b0956d merge commit b0a2ea76327760a7ecf35172fe525f8aa39320b2 from Harvey-OS:
“Until sigsuspend could work propery”[sic]
2017-05-15 13:35:38 +00:00
tg
fa5eb879c4 oops, reverted not enough in commitid 1005909EE7C16B07DC3 2017-05-05 22:59:36 +00:00
tg
0ee37a982d move more EBCDIC logic into check.pl 2017-05-03 14:51:15 +00:00
tg
d8bd19e23e handle EBCDIC in the testsuite runner (error display)
- move categories for that to test.sh, simplifying it
- $ebcdic in Build.sh is now for the target, not the buildhost
2017-05-03 13:00:10 +00:00
tg
60a9292b2f add -U to test.sh as well, oops… 2017-05-01 20:03:25 +00:00
tg
1b3ef94b7d clarify; default to xlc(1) as $CC on z/OS 2017-05-01 19:22:53 +00:00
tg
a6686cfec5 handle expected utf8opt-2a failures better (i.e. don’t even try) 2017-04-29 14:36:13 +00:00
tg
1289bc69fb apply most of the remaining parts of the EBCDIC patch, sans the CTRL() changes 2017-04-28 02:24:58 +00:00
tg
884153131d prepare for EBCDIC target environments (with -E option)
this differs from EBCDIC build hosts which can be autodetected
2017-04-28 00:27:48 +00:00
tg
f5c804d416 R55 2017-04-12 18:33:23 +00:00
tg
efe13f6942 now we have cheap cta move them into compile time 2017-04-12 16:01:45 +00:00
tg
0ec3cfee0d make compile-time asserts simpler 2017-04-12 15:23:31 +00:00
tg
95b7fcb4fc komh reports that OS/2 has no chance of supporting UTF-8 (like MSYS) 2017-04-03 02:08:57 +00:00
tg
718d397fff merge mksh-os2 by KO Myung-Hun <komh@chollian.net> from https://github.com/komh/mksh-os2 2017-04-02 15:00:45 +00:00
mirabilos
7fb9d283c5 Merge mksh CVS HEAD 2017-04-02 16:32:16 +02:00
tg
8bf6cad8bc introduce the -T flag to set TEXTMODE (ASCII CR+LF newline support) 2017-04-02 14:14:08 +00:00
tg
344ca3a12a POSuX demands persistent history support, so permit it in lksh
also, use http for links, it’s less demanding than https
2017-04-02 13:38:02 +00:00
KO Myung-Hun
c19b8b104c Merge remote-tracking branch 'mksh/master' 2017-03-22 17:50:23 +09:00
tg
a741defa53 Harvey-OS fixed APEX, this is reported to work now 2017-03-17 23:47:05 +00:00
tg
2584cd0634 fixup relation between lksh and mksh (somewhat minimal delta) 2017-02-18 02:33:15 +00:00
KO Myung-Hun
a2e965cad3 Merge remote-tracking branch 'mksh/master'
Conflicts:
    Makefile
    edit.c
    eval.c
    exec.c
    main.c
    misc.c
    sh.h
    var.c
2016-11-12 13:22:58 +09:00
tg
7b4bee7e58 collective R54 release preparation multi-merger:
install both lksh and mksh manpages from Build.sh (Martijn Dekker)
spelling fixes (Larry Hynes)
manpage improvements (Martijn Dekker)
initial port to Harvey-OS’ APEX (Ronald G. Minnich, Elbing Miss, Álvaro Jurado)
more from komh’s OS/2 port (KO Myung-Hun)
2016-11-11 23:31:39 +00:00
tg
7fef6b129e apply patch from Brian Callahan <bcallah@devio.us> for better pcc support 2016-11-07 16:55:51 +00:00
tg
d18f9133c8 fix English (thanks to Andreas Buschka); TIL:
• to start ⇒ a start
• to begin ⇒ a beginning
2016-09-01 12:59:12 +00:00
tg
e5e3fb3fc7 outstanding bumps 2016-08-25 16:21:34 +00:00
tg
fa94f0339e experiment with GCC 5’s new -malign-data=abi 2016-08-24 20:50:11 +00:00
KO Myung-Hun
d4be6d4358 Merge tag 'mksh-R53' into HEAD
Conflicts:
    exec.c
2016-08-13 15:05:49 +09:00
tg
2db6d0a08c bump, required by XTaran 2016-08-10 18:20:18 +00:00
tg
92370ec355 shave off 12 bytes (with fixed gcc) by making the definitions more legible
(and dropping struct padding, tbh)
2016-07-27 00:55:27 +00:00
tg
f9d131133e remove fd>9 support in favour of upcoming named file descriptors; bump 2016-07-25 21:05:25 +00:00
tg
c3e794c4d0 rework string pooling; disable our own (rely on compiler’s)…
• if HAVE_STRING_POOLING is set to 1
• if HAVE_STRING_POOLING is set to 2 and not GCC < 4 is used
• if HAVE_STRING_POOLING is not set to 0 and LLVM or GCC >= 4 is used

Closes: LP#1580348
2016-07-25 00:04:48 +00:00
KO Myung-Hun
0d730e1ad9 Merge remote-tracking branch 'mksh/master' 2016-06-29 08:17:29 +09:00
tg
b5127b03be deprecate *not* using MKSH_CONSERVATIVE_FDS; named fds coming soon
partially reverts commitid 10048752E6271CABA24 (the manpage, mostly)
and adds a deprecation warning at build time; suggested by izabera
2016-06-25 23:49:13 +00:00
KO Myung-Hun
68f6e899ef Merge tag 'mksh-R52c' 2016-03-05 14:59:34 +09:00
tg
4ccfd5fab5 document upcoming set +o changes; bump 2016-03-04 18:28:42 +00:00
KO Myung-Hun
36ea6b5f88 Merge remote-tracking branch 'mksh/master' 2016-01-24 16:43:45 +09:00
KO Myung-Hun
6eb125c18a Merge commit '91ae6ad199035b1cf' 2016-01-24 16:36:38 +09:00
tg
188691d285 save 200 bytes off .text by revisiting string pooling
also, forgotten version bump
2016-01-21 18:24:45 +00:00
tg
7771c3b7d2 glibc now causes warnings with set[ug]id also on kFreeBSD and Hurd 2016-01-02 20:11:31 +00:00
tg
fd5360903d don’t use unset in portable code either, thanks autoconf texinfo manual 2015-12-31 21:16:20 +00:00
KO Myung-Hun
0c41f2fdc8 Merge remote-tracking branch 'mksh/master' 2015-12-13 17:59:43 +09:00
tg
b2b0c0bbb6 update for recent changes 2015-12-12 22:25:15 +00:00
tg
61726fd124 while fgrep’s easier on the eyes, grep -F’s more well-known 2015-12-08 20:59:33 +00:00
KO Myung-Hun
780f220e23 Merge remote-tracking branch 'mksh/master'
Conflicts:
    check.t
    exec.c
    sh.h
2015-10-11 19:42:38 +09:00
tg
eb9050b8f8 stop using issetugid(2) for ±p check as it’s probably not the right tool 2015-10-05 17:59:00 +00:00
KO Myung-Hun
bd9de444e3 Merge remote-tracking branch 'mksh/master' 2015-09-12 12:50:57 +09:00
tg
4adcfe8b58 oksh sync, simplify *all* if(x)free(x); constructs, simplify x_push() and sync boilerplate while here 2015-09-05 19:19:12 +00:00
KO Myung-Hun
a83f87baf0 build: add -DMKSH_NO_LIMITS flag
Upstream fixed the KLIBC conflicts. Due to this, MKSH_NO_LIMITS is not
defined on OS/2.

    modified:   Build.sh
2015-07-21 16:30:48 +09:00
KO Myung-Hun
834349f3be Merge remote-tracking branch 'mksh/master'
Conflicts:
	Build.sh
	check.pl
	check.t
	edit.c
	emacsfn.h
	exec.c
	funcs.c
	main.c
	misc.c
	sh.h
	var.c
2015-07-21 16:30:46 +09:00