tg
84020897fd
allow overriding /etc location (LP#1039713), but don’t do it
2012-08-24 19:09:10 +00:00
tg
beca8ed86f
more int → bool
2012-08-24 19:02:57 +00:00
tg
bb5e56d4c4
remove ${ foo;} from mksh again due to buffering issues jilles found
2012-08-17 18:34:25 +00:00
tg
f18b1fae85
bump
2012-08-03 18:45:32 +00:00
tg
31ad60ea89
do not advertise printf(1)
2012-08-03 18:34:31 +00:00
tg
0decdb2100
ulimit: precompute option string for getopt and usage; noticed by bsiegert@
2012-08-03 18:30:13 +00:00
tg
1d21782419
add -D_DARWIN_C_SOURCE on OSX; should help bsiegert@’s problem
2012-08-03 18:16:43 +00:00
tg
9b7b7f742e
implement ksh93 feature ${ foo;}
2012-07-30 21:37:17 +00:00
tg
8e51bb7a23
fix reentry of here documents (LP#1030581)
2012-07-30 19:58:05 +00:00
tg
9156b9eee4
more int → bool
2012-07-30 17:28:21 +00:00
tg
0db4002bd6
remove unused flag
2012-07-30 17:04:31 +00:00
tg
cb5b1b3a88
another rcsid-only sync
2012-07-25 19:40:40 +00:00
tg
aedb299057
note that some longjmp don’t handle 0 properly
...
cf. <500C1B2E.9030602@zytor.com>
2012-07-22 15:56:51 +00:00
tg
058e7f8ed4
do implement quoting, as ${foo@Q} though, as hommage at mirmake
...
dedicate this “release” to Andi
and use tomorrow’s (UTC) day for version, to cover up my debian fuckup
2012-07-20 23:22:13 +00:00
tg
403c7c8e50
remove misleading comment fixed in last commit
2012-07-20 22:47:22 +00:00
tg
6724ba505d
make 'typeset -p' (and soon ${foo@$}) output strings safe for re-entry
...
into AT&T ksh93 (that we still must use octal, in this day and age,
because dgk’s \x is broken… tss…)
not round-trip, as ksh93 doesn’t encode hi-bit7 or \v, but safe
2012-07-20 21:18:45 +00:00
tg
b90a11f6c5
fix more cases of x_delete() bytes vs. characters abuse (tested!); fix some int vs. size_t issues (XXX also fix x_cf_glob and friends some day…)
2012-07-20 20:50:07 +00:00
tg
bea2b756b3
factor out common code (convert from "byte offset from cursor" to number of characters)
2012-07-20 20:33:15 +00:00
tg
98ff25a001
fix no less than two more bugs and one regression in the Emacs tab completion code (LP#1025843)
2012-07-20 20:16:26 +00:00
tg
2aceb6893d
make QCHAR-for-glob {,un}escaping code into helper functions
...
no code change
2012-07-20 18:39:53 +00:00
tg
1e2755edc1
x_lastcp(); done by x_zots already
2012-07-20 18:08:23 +00:00
tg
4778a2a62f
lesson learned from http://k1024.org/~iusty/blog/entry/perf-null/ – add -DMKSH_SMALL_BUT_FAST which gives more speed (8/20K less cycles, 5/9K less insns, 1.8/2.4k less branches, 65/275 less branch misses) on Debian/amd64 (klibc-static/eglibc) at cost of 0/2 more page faults and 6K/6K more text size
2012-07-01 15:55:00 +00:00
tg
798cfdc982
add test-build-lksh developer target
2012-07-01 15:54:36 +00:00
tg
978d365ab1
-L implies convfds now
2012-07-01 15:51:24 +00:00
tg
516678f4fd
imply MKSH_CONSERVATIVE_FDS by MKSH_LEGACY_MODE, too
2012-07-01 15:44:31 +00:00
tg
35c65bb568
bugfix: make CONSERVATIVE_FDS implied by MKSH_SMALL actually work
2012-07-01 15:41:56 +00:00
tg
67714b270a
dissolve the hashtab nonsense, ¾ is good, and mirkev will also use that
2012-07-01 15:38:09 +00:00
tg
c6edd7ebe6
lessons learned during nullperf tests: inlining this is always bad
2012-07-01 15:36:18 +00:00
tg
01e1b0de24
lksh: mention IRC and ML; mksh: mention SSL
2012-06-29 08:11:45 +00:00
tg
c1f821d4e5
(mksh) tighten 32-bit requirements; (lksh) switch to long; allow any bitness
2012-06-28 20:17:39 +00:00
tg
ae26f45417
fix emacs/vi lksh
2012-06-28 20:14:17 +00:00
tg
e111b33d9a
keep the emacs/gmacs/vi* options in lksh, just they don't do anything any more
2012-06-28 20:09:30 +00:00
tg
ea01d80833
hackish work-around the lexer to make alias definitions in mksh -c
...
work (Closes : #517009 ) and mention in the manpage why they sometimes
do not work (doing so for COMSUBs is not worth the effort)
2012-06-28 20:05:11 +00:00
tg
d824683000
ensure that case end tokens are not mixed up ( Closes : #220272 )
...
XXX token/tpeek/musthave should rescan the last input lexems
XXX if the new cf passed doesn't match the last cf passed
2012-06-28 20:04:02 +00:00
tg
0c3aed77e0
fix trimming with positional parameters ( Closes : #48453 )
2012-06-28 20:03:20 +00:00
tg
dc5ae267ce
make tempvar() and vtemp global
2012-06-28 20:02:29 +00:00
tg
45fba44292
sync w/ oksh (RCSID only # no change needed)
2012-06-28 20:01:01 +00:00
tg
1fa4453946
mh… all I’m gonna hack on upstream today… fix -t for manpage generation and cleanup code snippets; bump vsn; sync clog
2012-06-26 19:33:33 +00:00
tg
cbeac6b381
disable mksh feature -T in lksh
2012-06-26 19:22:19 +00:00
tg
967b68e08e
one more thing to implicitly disable (nonsensical anyway) for lksh
2012-06-26 19:15:11 +00:00
tg
c212458922
bump for mksh with lksh-except-long, so we get the ball moving
2012-06-26 18:11:05 +00:00
tg
2621715a17
fix two inverse logic mistakes (I’m apparently r̲e̲a̲l̲l̲y̲ fond of them… ☹)
2012-06-25 16:34:58 +00:00
tg
5386859b3f
also get back octal crap for LEGACY KSH
2012-06-25 16:31:18 +00:00
tg
1f5c10c8b6
sync w/ oksh
2012-06-25 16:22:59 +00:00
tg
884fdef2b2
first LEGACY changes: keep filedescriptors always open; revert to historic ‘set -- $(getopt …)’ behaviour
2012-06-25 16:17:54 +00:00
tg
967e929e98
add basic LEGACY KSH mode (Build.sh -L), no changes yet
2012-06-25 16:05:10 +00:00
tg
b0543ef064
define $tfn default late (for Things To Come™)
2012-06-24 20:47:07 +00:00
tg
3ebfd6e563
new option -t (target shell filename)
2012-06-24 20:46:07 +00:00
tg
6f1078606e
bump after dealing with all things Benny had Coverity find
...
remainging CIDs not listed are either
• false positive (bug in coverity)
• intentional (possibly with lint override coverity doesn't parse)
• VLA (XXX find out how to mix C99 and ANSI VLAs)
• things flagged as possible resource leaks I have no idea about
(no biggie though, and only in error cases I think)
2012-06-24 20:39:26 +00:00
tg
b3b3aec17e
CID 703478: probably can’t happen, but…
2012-06-24 20:15:47 +00:00