MirBSD Korn Shell for Jehanne
Go to file
tg 69e1312265 fix real-life example From: Andrew Kudryashov <andrewinsilenthill@gmail.com>
in <CABNd6wz3SSRWamUNQ-BNcp7z0pthOR156=Zy3qBYmXhTjvoYsg@mail.gmail.com> but
by a different (cheaper) method than the one in his patch from message-id
<CABNd6ww7zFUQ4Ho2zQQzQyERy==8Hqg_y12Acmj1sF6ka4b4KQ@mail.gmail.com>:

when completing, always replace the olen text with the new one, and only
then take the length of the x_expand()ed nlen text to compare and check
whether to set completed=true; this also means:

$ ls foo\+/<tab>
          ↓
$ ls foo+/

this matches reality even better and saves us a couple of string traversals
2012-03-23 21:34:47 +00:00
Build.sh distinguish between Minix 3 and Ninix 3 2012-03-03 21:30:13 +00:00
Makefile efficient debug-to-file output (/tmp racy, but hey) 2012-03-23 19:38:12 +00:00
check.pl mksh R40 Release Candidate 1 2011-05-29 02:18:57 +00:00
check.t • printf(1) on BSD/OS 4.1 does not play nice with NUL characters 2012-03-20 16:48:12 +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 real-life example From: Andrew Kudryashov <andrewinsilenthill@gmail.com> 2012-03-23 21:34:47 +00:00
emacsfn.h • merge printf from OpenBSD 2010-07-17 22:09:40 +00:00
eval.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
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 followup for cid 1004EE408E1382C1752 and 1004EE40DDD498FBB0D: 2011-12-31 02:04:18 +00:00
funcs.c drop Android-specific lsmod builtin (for now), they don’t use it anyway 2012-03-03 19:28:45 +00:00
histrap.c LLVM+clang scan-build found a dead store and I found an unneeded assert 2011-12-31 00:47:46 +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 #ifdef MKSH_DISABLE_DEPRECATED do not compile in features scheduled for removal 2011-11-26 17:56:30 +00:00
main.c efficient debug-to-file output (/tmp racy, but hey) 2012-03-23 19:38:12 +00:00
misc.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
mksh.1 • finally, the code and manual page text to deprecate, and code to not 2011-12-10 13:34:19 +00:00
sh.h drop use of the NOT macro, [^foo] ≠ [!foo] anyway, and we’re not gonna change that 2012-03-23 20:07:13 +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 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.c RCSID sync from oksh; reduce hash table #elements if !MKSH_SMALL to speed up 2012-03-03 21:30:59 +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