MirBSD Korn Shell for Jehanne
Go to file
tg 1df3efdb86 another intermediate step/commit to get arithmetics right:
do the correct operations for comparisons (just keep using the
signed/unsigned switch from bivui for them), division (by working
on absolutes and adding the sign at the end), modulo (stupidly by
divising in signed, multiplying and subtracting, to get the sign
of the result right)

also adds rotation

XXX to check: do we need to AND before assigning the result in division?
2013-04-14 13:36:53 +00:00
Build.sh • let mksh “set -x” print whole TCOM trees 2013-03-24 00:56:27 +00:00
Makefile • let mksh “set -x” print whole TCOM trees 2013-03-24 00:56:27 +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 one can’t cast an unsigned int to a signed int portably either, if the value 2013-04-01 02:37:53 +00:00
dot.mkshrc Tonnerre Lombard’s contribution: 2013-04-05 15:39:52 +00:00
edit.c improve DEBUG_LEAKS handling and fix freeing some locs 2013-02-10 19:05:37 +00:00
emacsfn.h • merge printf from OpenBSD 2010-07-17 22:09:40 +00:00
eval.c now that funsub() is a separate function, and we don’t have the clobber 2013-03-29 17:33:07 +00:00
exec.c • let mksh “set -x” print whole TCOM trees 2013-03-24 00:56:27 +00:00
expr.c another intermediate step/commit to get arithmetics right: 2013-04-14 13:36:53 +00:00
funcs.c use nicer (and same as in other places!) error message for typeset 2013-03-30 15:39:36 +00:00
histrap.c harmonise sys_{sig,err}list ⓐ checks, ⓑ uses, ⓒ _decl values when not needed, ⓓ prototypes; ⓔ “const” is a keyword and thus space-separated from the preceding ‘*’ pointer indicator 2012-12-28 02:28:39 +00:00
jobs.c one can’t cast an unsigned int to a signed int portably either, if the value 2013-04-01 02:37:53 +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 also do not, ever, use &> bashiop in lksh 2013-03-29 17:33:56 +00:00
main.c now that funsub() is a separate function, and we don’t have the clobber 2013-03-29 17:33:07 +00:00
misc.c one can’t cast an unsigned int to a signed int portably either, if the value 2013-04-01 02:37:53 +00:00
mksh.1 another intermediate step/commit to get arithmetics right: 2013-04-14 13:36:53 +00:00
sh.h one can’t cast an unsigned int to a signed int portably either, if the value 2013-04-01 02:37:53 +00:00
sh_flags.h fix emacs/vi lksh 2012-06-28 20:14:17 +00:00
shf.c make "%#s" into print_value_quoted (ignoring field width and precision), if you can get it around gcc’s __printf__ __format__ attribute that is… 2013-03-30 15:39:16 +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 harmonise sys_{sig,err}list ⓐ checks, ⓑ uses, ⓒ _decl values when not needed, ⓓ prototypes; ⓔ “const” is a keyword and thus space-separated from the preceding ‘*’ pointer indicator 2012-12-28 02:28:39 +00:00
tree.c • let mksh “set -x” print whole TCOM trees 2013-03-24 00:56:27 +00:00
var.c just rcsid-sync oksh; their change was to add /* XXX 2038 */ comment 2013-04-07 14:11:54 +00:00
var_spec.h oops, this list is s’pos’ta be sorted 2012-11-30 16:45:25 +00:00