MirBSD Korn Shell for Jehanne
Go to file
tg 5204e7cc4f after discussion with ciruZ, switch mksh from NZAT to NZAAT fully
to get rid of the bias introduced by making the hash never zero

… he also pointed out a memory (heap) usage optimisation… which
may impact code size a bit though as I’d need to pass an additional
argument on hashtable function calls… or, forgo the benefit of not
having to pointer-align the key in the structure, which can be as
much as 3/7 octets per item, heap storage… OTOH the saved space is
4/8 octets per not-allocated item, possibly some code (use of an
multiply-add opcode), but the function call overhead/cost would
possibly be quite a bit… I guess I’ll have to measure…
2012-04-22 21:50:35 +00:00
Build.sh work around segfault bug in GNU sed 2.03, spotted by RT on Debian 0.91 2012-04-16 17:49:40 +00:00
Makefile rewrite maketemp() obsoleting tempnam(3) and mkstemp(3) external deps 2012-04-14 16:07:48 +00:00
check.pl rewrite the EINTR importing code with help of stsc from #nosec on IRC, 2012-04-06 12:22:14 +00:00
check.t after discussion with ciruZ, switch mksh from NZAT to NZAAT fully 2012-04-22 21:50:35 +00:00
dot.mkshrc first part of LP: #909818; ${name@#} will later be changed to ${name@#expr} where expr is the IV ipv 0 (eval.c:377ff) 2011-12-31 01:07:19 +00:00
edit.c fix some comments 2012-04-06 15:06:42 +00:00
emacsfn.h • merge printf from OpenBSD 2010-07-17 22:09:40 +00:00
eval.c after discussion with ciruZ, switch mksh from NZAT to NZAAT fully 2012-04-22 21:50:35 +00:00
exec.c rewrite maketemp() obsoleting tempnam(3) and mkstemp(3) external deps 2012-04-14 16:07:48 +00:00
expr.c I give up on writing (1 << 31) in any form. 2012-03-31 17:52:33 +00:00
funcs.c drop str{,n}casecmp, too 2012-04-06 13:29:01 +00:00
histrap.c rewrite maketemp() obsoleting tempnam(3) and mkstemp(3) external deps 2012-04-14 16:07:48 +00:00
jobs.c let struct proc allocate 64 chars even on !ILP32 platforms 2012-02-06 17:49:52 +00:00
lalloc.c • access(2) is broken in at least kFreeBSD 9.0 as “modern” OS, so bring 2011-09-07 15:24:22 +00:00
lex.c drop all deprecated code, you have been warned 2012-04-07 11:19:53 +00:00
main.c rewrite maketemp() obsoleting tempnam(3) and mkstemp(3) external deps 2012-04-14 16:07:48 +00:00
misc.c drop the need for strcasestr: just uppercase a copy and compare with uppercased 2012-04-06 12:59:28 +00:00
mksh.1 after discussion with ciruZ, switch mksh from NZAT to NZAAT fully 2012-04-22 21:50:35 +00:00
sh.h after discussion with ciruZ, switch mksh from NZAT to NZAAT fully 2012-04-22 21:50:35 +00:00
sh_flags.h drop long-deprecated 'set ±o arc4random' 2011-06-12 15:37:10 +00:00
shf.c rename more identifiers with trailing underscores 2011-10-25 22:36:39 +00:00
strlcpy.c more KNF, mostly whitespace, this time more manual labour applying style(9) 2009-06-10 18:12:51 +00:00
syn.c RCSID sync from oksh; reduce hash table #elements if !MKSH_SMALL to speed up 2012-03-03 21:30:59 +00:00
tree.c move unexpected TELIF warning into #ifdef DEBUG as it never triggered 2012-04-07 11:19:30 +00:00
var.c after discussion with ciruZ, switch mksh from NZAT to NZAAT fully 2012-04-22 21:50:35 +00:00
var_spec.h • rework hash table interna to avoid gcc-4.1 on Debian etch bug 2011-06-05 19:58:21 +00:00