KO Myung-Hun
ae3c5b8482
jobs: remove unnecessary MKSH_NOPROSPECTOFWORK guards
...
Long time ago, upstream fixed KLIBC conflicts. As a result,
MKSH_NO_SIGSUSPEND is not defined any more.
I missed to remove guards with MKSH_NOPROSPECTOFWORK.
modified: jobs.c
2015-12-27 14:00:19 +09:00
KO Myung-Hun
0c41f2fdc8
Merge remote-tracking branch 'mksh/master'
2015-12-13 17:59:43 +09:00
tg
d83f63ac1c
sync with reality; clog already says:
...
* [tg] Drop “stop” alias, [203]lksh(1) functionality to auto-unalias
2015-12-12 23:31:15 +00:00
tg
b2b0c0bbb6
update for recent changes
2015-12-12 22:25:15 +00:00
tg
489fb7e845
further bring ${x/y/z} closer to GNU bash behaviour, we now only miss
...
recursive extglobs
2015-12-12 22:24:07 +00:00
tg
ff90f3a050
add explicit licence
2015-12-12 21:08:44 +00:00
tg
f08d596163
make (( … )) into a compound command, as ormaaj says was originally intended
2015-12-12 21:03:53 +00:00
tg
3b2ad0f9d9
fix ${*:+x} constructs; bug reported by carstenh via IRC
2015-12-12 20:38:56 +00:00
tg
66ace7e647
fix regression introduced with test(1) rewrite in R40d:
...
evaluation errors were not returned any more
Bug spotted and patch by Martijn Dekker <martijn@inlv.org>
2015-12-12 19:27:36 +00:00
tg
aa4ad0c2e4
now WDS_KEEPQ and WDS_MAGIC are both no longer needed
2015-12-12 19:08:58 +00:00
tg
305599031d
improve reparsing of ((…) |…) as ( (…) |…)
2015-12-12 19:05:52 +00:00
tg
ceb98d7558
we must quote a tilde in substitutions now
2015-12-12 18:47:40 +00:00
tg
8d22d9226f
use evalstr instead of wdstrip+substitute and drop home-grown backslash removal
2015-12-12 18:47:22 +00:00
tg
d4aa35212c
fix a few expansion substitutions to do tilde expansion
...
issue spotted by izabera and confirmed by Geoff Clare
2015-12-12 17:28:10 +00:00
tg
c10a8b5809
move tests that logically belong together; no change
2015-12-12 16:37:44 +00:00
tg
4e036f26d1
easy portability fix from Jilles Tjoelker <jilles@stack.nl>; reason:
...
> In the Bourne shell, ksh93 and FreeBSD sh, the double-quote directly
> after the question mark starts an unquoted part inside the message.
2015-12-11 16:55:55 +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
tg
124e6693e9
janitorial work
2015-11-29 17:05:02 +00:00
KO Myung-Hun
788fdcd188
Merge remote-tracking branch 'mksh/master'
2015-10-26 11:24:15 +09:00
tg
7a47656efe
fix \u0000 and \x00 being ignored in $'…' and print +r expansion
2015-10-24 19:46:10 +00:00
tg
1a4f644d6e
save ~1½K from the bootfloppy by reusing MirBSD libkern wcwidth(3)
...
but don’t bother for this for the regular /bin/mksh either
to keep the generic code path tested well
2015-10-24 19:45:23 +00:00
tg
5018e4a21b
another testcase, before I go changing the way let] is handled
2015-10-13 21:39:53 +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
cef386fb60
make “source” into a built-in command (keepasn, to match ksh93 and “dot”);
...
remove the “stop” alias and drop old Android and OS/2 hacks and auto-unalias
2015-10-09 21:36:59 +00:00
tg
52b0370973
some doc overhaul/bugfixes; TODO: document all of FPOSIX, FSH deltas
...
(after working through lksh.1 and deciding on them)
2015-10-09 20:43:11 +00:00
tg
7a5a9c9ea0
move some information off mksh.1; harmonise
2015-10-09 20:33:49 +00:00
tg
fc48729336
tweak some iop/conservative_fds-related things I picked up while thinking lksh
2015-10-09 19:29:50 +00:00
tg
22fff17047
comments for future directions (keep delta lower, make lksh-as-ksh doable)
...
oksh synching will be more work than I can continue while being ill still…
2015-10-09 19:28:20 +00:00
tg
af35e9a6de
revert most of commitid 3ec342c92b3a8874 and fixup the rest;
...
this should bring us closer to POSIX again
2015-10-09 17:48:53 +00:00
tg
3fc8b5eb94
partial oksh sync, up to commit 80be547da108d5c241ae068290ca3e331446aa41?
2015-10-09 16:11:19 +00:00
tg
e32f7d933b
clean up ifdefs; some errnos are mandatory anyway; add one of those
2015-10-09 15:38:36 +00:00
tg
59e7366036
a bit more careful, even if probably unnecessary
2015-10-09 15:28:20 +00: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
ed5cb56849
replace the code related to << changes and <<< with cleaner code,
...
fixing a few bugs also (including new testcases, except x=<< issue)
2015-09-06 19:47:01 +00:00
tg
0f6aa7eaab
fix more int vs. size_t mismatches
2015-09-06 13:10:48 +00:00
tg
edc2acd61d
fix tree printing multiple heredocs in one command, bug found by izabera
2015-09-05 20:20:48 +00: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
tg
719778193a
add missing colon to two error msgs (no effect on dedup)
2015-09-05 17:20:19 +00:00
tg
8a11d7a6a2
we have longer fds now, plus add 1 for a space just to be sure
2015-09-05 17:17:47 +00:00
KO Myung-Hun
7668f92e05
check: remove unnecessary double quotation for $PATHSEP
...
modified: check.t
2015-08-16 12:50:05 +09:00
KO Myung-Hun
df20ee1fff
Merge remote-tracking branch 'mksh/master'
...
Conflicts:
check.t
main.c
2015-08-15 23:45:52 +09:00
tg
92978953b2
; on OS/2
2015-08-13 22:09:10 +00:00
tg
1b8b792b7e
quote path separator if ; in some cases; pointed out by komh
2015-08-13 22:06:23 +00:00
tg
c674e71377
be more careful with signals and errorlevels; bounds-check them better;
...
don’t trust the OS as POSuX comes up with more-than-8-bit exit codes now;
also, one more int → bool
2015-08-13 21:38:19 +00:00
tg
9d30e9c9d6
oksh sync: one rcsid-only plus this one by guenther:
...
Zero-pad the seconds in the output of 'time' to make columns line up
2015-08-13 21:04:12 +00:00
tg
fdb9509fe5
make 'typeset -f' output reentrant in the face of functions whose
...
names are keywords and a GNU bash extension (gah!); reported by izabera
2015-08-13 20:54:03 +00:00
KO Myung-Hun
12271f0adc
check: remove unnecessary category check
...
Upstream added nosymlink on OS/2.
modified: check.t
2015-07-21 16:30:49 +09: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
26c9cc9318
main: remove EXE_EXT macro
...
Upstream introduced MKSH_EXE_EXT.
modified: main.c
2015-07-21 16:30:48 +09:00