MirBSD Korn Shell for Jehanne
Go to file
tg cf75e7b6ce couple of minor/cosmetic fixes from RT’s compile farm:
• promote SCO OpenServer and UnixWare to !oswarn
• omit trying -O2/-O on OpenServer 5 and USL C
• cast mksh_ari_t to int, mksh_uari_t to unsigned int for printf
• skip ulimit-1 on syllable (which is still too broken)
• write ((mksh_ari_t)-2147483648) ipv UB ((mksh_ari_t)1 << 31)
  and add a comment that that is actually meant
• rewrite functions returning !void ending in NOTREACHED
  so they’ve got a jump target returning an error at the
  end, to aid older compilers and just to be safe
• cast struct stat.st_size to off_t or size_t explicitly when needed
• shorten struct env by two bytes and an alignment, at least

also, optimise control flow and fix more paren matching cases
2012-03-29 19:23:01 +00:00
Build.sh couple of minor/cosmetic fixes from RT’s compile farm: 2012-03-29 19:23:01 +00:00
check.pl I have reason to assume this fixes a Cygwin warning (false-positive) seen by RT 2012-03-26 21:06:34 +00:00
check.t couple of minor/cosmetic fixes from RT’s compile farm: 2012-03-29 19:23:01 +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 huh, I thought I had extended ${parameter@#hash} already; make it so now, 2012-03-23 23:25:30 +00:00
emacsfn.h • merge printf from OpenBSD 2010-07-17 22:09:40 +00:00
eval.c couple of minor/cosmetic fixes from RT’s compile farm: 2012-03-29 19:23:01 +00:00
exec.c • access(2) is broken in at least kFreeBSD 9.0 as “modern” OS, so bring 2011-09-07 15:24:22 +00:00
expr.c couple of minor/cosmetic fixes from RT’s compile farm: 2012-03-29 19:23:01 +00:00
funcs.c couple of minor/cosmetic fixes from RT’s compile farm: 2012-03-29 19:23:01 +00:00
histrap.c couple of minor/cosmetic fixes from RT’s compile farm: 2012-03-29 19:23:01 +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 couple of minor/cosmetic fixes from RT’s compile farm: 2012-03-29 19:23:01 +00:00
main.c • implement fcntl(2)-based advisory locking as an alternative iff flock(2) 2012-03-27 22:36:53 +00:00
Makefile pass the version to avoid stale Makefile.inc files 2012-03-27 23:13:42 +00:00
misc.c winstonw made me discover there is no ELOOP in Plan 9: 2012-03-26 20:04:05 +00:00
mksh.1 huh, I thought I had extended ${parameter@#hash} already; make it so now, 2012-03-23 23:25:30 +00:00
sh_flags.h drop long-deprecated 'set ±o arc4random' 2011-06-12 15:37:10 +00:00
sh.h couple of minor/cosmetic fixes from RT’s compile farm: 2012-03-29 19:23:01 +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 drop use of the NOT macro, [^foo] ≠ [!foo] anyway, and we’re not gonna change that 2012-03-23 20:07:13 +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
var.c be really loud when doing unwise things that WILL break in R41 2012-03-24 19:13:27 +00:00