MirBSD Korn Shell for Jehanne
Go to file
tg 609b311919 more low-hanging fruits for EBCDIC; notes:
• ord() new, From: Daniel Richard G. <skunk@iSKUNK.ORG>
  ‣ used in some places
• (c - '0') → ksh_numdig(c)	# may take *x++ argument
• (c - 'A') → ksh_numuc(c)	# may NOT take *x+= argument
  ‣ idem for ksh_numlc(c) and 'a'
  ‣ these need changing for EBCDIC
  ‣ add testsuite for this
• use macros more, they exist already often
• use digits_lc[foo] instead of ('0' + foo), especially for letters
• caught another ksh_eq case…
• also caught a maybe-UB overflow check, but we don’t have TIME_T_MAX ☹
2015-04-29 20:07:35 +00:00
Build.sh EBCDIC helpers and OS/390 signals 2015-04-29 18:38:54 +00:00
check.pl fix pdksh mistake of using +-= in char class; move - to end and add \d 2015-04-29 19:01:03 +00:00
check.t more low-hanging fruits for EBCDIC; notes: 2015-04-29 20:07:35 +00:00
dot.mkshrc • the \: "${foo:=bar}${bar:=baz}" construct needs no spaces 2015-04-11 19:01:59 +00:00
edit.c more low-hanging fruits for EBCDIC; notes: 2015-04-29 20:07:35 +00:00
emacsfn.h
eval.c use already-existing ksh_isdash helper macro 2015-04-29 18:32:44 +00:00
exec.c use already-existing ksh_isdash helper macro 2015-04-29 18:32:44 +00:00
expr.c oksh sync RCSIDs only: 2014-12-15 23:26:36 +00:00
funcs.c more low-hanging fruits for EBCDIC; notes: 2015-04-29 20:07:35 +00:00
histrap.c inline only user of ksh_min, make it more cool; drop ksh_min, ksh_max; 2015-04-29 19:11:57 +00:00
jobs.c a bit oksh-inspired getn return value checking, plus some code optimisation 2015-04-19 14:40:09 +00:00
lalloc.c stop using ptrdiff_t 2014-11-25 20:00:39 +00:00
lex.c more low-hanging fruits for EBCDIC; notes: 2015-04-29 20:07:35 +00:00
lksh.1 MFC most things (see mksh.hts) to R50-stable; sync clog 2015-04-12 22:32:12 +00:00
main.c more low-hanging fruits for EBCDIC; notes: 2015-04-29 20:07:35 +00:00
Makefile Implement the “FKSH functions have local scope for shell options” feature 2015-04-11 23:28:21 +00:00
mirhash.h small gem ;) 2014-10-02 19:34:06 +00:00
misc.c more low-hanging fruits for EBCDIC; notes: 2015-04-29 20:07:35 +00:00
mksh.1 fix lies; this had to be taken out for security reasons some time ago 2015-04-29 18:56:00 +00:00
mksh.ico
rlimits.opt more clueful (automatic) getopt string generation 2013-11-17 22:21:18 +00:00
sh_flags.opt fix the “set ±p” issue for good 2014-06-09 12:28:19 +00:00
sh.h more low-hanging fruits for EBCDIC; notes: 2015-04-29 20:07:35 +00:00
shf.c more low-hanging fruits for EBCDIC; notes: 2015-04-29 20:07:35 +00:00
strlcpy.c
syn.c more low-hanging fruits for EBCDIC; notes: 2015-04-29 20:07:35 +00:00
tree.c SECURITY: fix integer overflows related to file descriptor parsing 2015-04-11 22:03:32 +00:00
var_spec.h
var.c more low-hanging fruits for EBCDIC; notes: 2015-04-29 20:07:35 +00:00