tg
3b5d75318d
fix -r logic
2005-06-08 22:46:06 +00:00
tg
d790bd7094
Han Boetes wants a parameter for dynamically linked binaries
...
so I'll re-code a getopt clone
This _still_ works with Solaris /bin/sh, even if both source
and build (current) directory contain spaces.
2005-06-08 22:42:31 +00:00
tg
efebc38662
miRbsdkSH is now a restricted shell again, because this
...
shell is the mksh
2005-06-08 22:35:45 +00:00
tg
a21be8d676
some lint cleanup
2005-06-08 22:34:03 +00:00
tg
d518ab0023
run a bit of indent over it
...
not really suitable tho
2005-06-08 22:22:24 +00:00
tg
521da70fc8
* major revamp of build system
...
* whitespace cleanup; junk comment removal
* syndicate debian/copyright file from my port (shrinks sh.h)
* bump to R23
2005-06-08 21:51:22 +00:00
tg
faecfafee7
beautify
2005-06-08 21:39:59 +00:00
tg
1f32407004
use modern modules and blahblah
...
from openbsd, by Han Boetes originally
also, clean up comments a bit
2005-06-08 11:06:45 +00:00
tg
5b6017fd0f
add missing detail from IFS example
...
From PR4220/TAKAHASHI Tamotsu <[15]ttakah@lapis.plala.or.jp>
via OpenBSD
2005-06-08 10:59:41 +00:00
tg
cdb2beb29b
Interix defines RLIMIT_VMEM to RLIMIT_AS, no need for us to act (sigh)
2005-06-08 10:25:40 +00:00
tg
ba682b02aa
adjust comments
2005-06-08 10:19:33 +00:00
tg
50b9b9181b
use RLIMIT_AS if RLIMIT_VMEM is not available
...
they roughly equal each other anyway
2005-06-08 10:14:09 +00:00
tg
0df992276b
mksh R22d
2005-06-05 16:38:20 +00:00
tg
0ee7babfdf
* allow build without nroff
...
* /usr/share/man except in some very weird GNU distributions
2005-06-05 16:34:59 +00:00
tg
f860e80cbc
this commit made my dedicated server reboot spontaneously,
...
but the Pentium 120 with a Hercules graphics card (anno 1981)
survives it:
allow building and running the testsuite if the source or
build directory contain spaces (not unusual on Windows®)
2005-05-30 07:05:29 +00:00
tg
a2d62f743e
fix building in separate directory under non-MirOS
2005-05-28 21:30:32 +00:00
tg
0bac97e6f9
another conditional missed, only affects MirOS
2005-05-28 21:11:35 +00:00
tg
a41e8aa581
main.c: need <time.h> if not HAVE_ARC4RANDOM
...
strlfun.c: sync
found while creating debian source package
main.c, check.t: mksh R22c
2005-05-28 21:02:02 +00:00
tg
428e27331e
forgot a #endif
2005-05-26 23:12:09 +00:00
tg
dc22f4da3a
* fix logic for srand() I got reversed
...
* introduce HAVE_ARC4RANDOM tristate (0/1/undef) and fill it appropriately
* NetBSD(R) joins the list of OSes which don't have arc4random
2005-05-26 23:01:30 +00:00
tg
7f4297f3d0
add a "quiet mode" to the build script
2005-05-25 23:44:50 +00:00
tg
541c0caead
some KNF
2005-05-25 23:39:10 +00:00
tg
cd54ef8f51
* fix emacs [ tabcompletion bug
...
XXX it's probably a bug in vi mode too, it just doesn't show
* bring manual page and reality into closer sync'd state
* sort ulimits
2005-05-25 23:31:08 +00:00
tg
1d0c401aa0
some more checks for debian bugtracker items
...
the rest is just "ksh is not bash, I want it so!" and similar stupidness
2005-05-25 14:39:33 +00:00
tg
8c520f4152
add regression test for our 'posix-ish' tilde mode
...
(well, ours IS allowed by posix, but...)
2005-05-25 14:20:53 +00:00
tg
77a65a5562
fix a manpage glitch
2005-05-25 14:15:40 +00:00
tg
84dcd241c1
the new pdksh maintainer's patch is bogus
...
he didn't even run the testsuite
now, in not-rv_pass mode, traps are still executed
XXX look where this could break
2005-05-25 14:07:29 +00:00
tg
d73fd20cb9
surprising results
2005-05-25 13:50:15 +00:00
tg
d7c3f0a066
make setuid/setgid scripts and access() work again
...
by reverting some OpenBSD and applying some Debian diff
2005-05-25 13:46:02 +00:00
tg
1c49eb97a5
mksh R22 (beta)
...
not yet released
2005-05-25 11:37:23 +00:00
tg
d0ce928ea8
new upstream patch ftp://ftp.cs.mun.ca/pub/pdksh/pdksh-5.2.14-patches.2
...
from maintainer via Debian PR #71256
2005-05-25 11:31:15 +00:00
tg
7305a6db5e
Disable tilde expansion after = (Debian PR #187839 ),
...
but only in POSIX mode
2005-05-25 10:01:24 +00:00
tg
1dd37a1086
need -D_FILE_OFFSET_BITS=64 on some weird OS
...
Debian PR 237038
2005-05-25 09:53:02 +00:00
tg
ba859c9ab1
make mksh -exc 'eval false || true'; echo $? echo 0 not 1
...
From Debian bug #269067
2005-05-25 09:39:49 +00:00
tg
e3cfc9261a
* add RLIMIT_LOCKS from Debian pdksh diff
...
* unify ifdef and spacing of all RLIMITs
2005-05-25 09:18:16 +00:00
tg
1c0262455c
* Mac OSX 10.4 "Tiger"
...
- has an antiquated ed(1)
(I'm lucky it has one, some GNU/Linux don't...)
- cannot build mksh statically linked
* Solaris (SunOS 5.8)
- needs libdl when statically linked (NSSwitch problem)
- /bin/sh is not XPG.4 compatible, don't use test -e
2005-05-23 17:24:23 +00:00
tg
7e07bd6fa7
whitespace is belangrijk
2005-05-23 17:00:24 +00:00
tg
3f7fe0e4dc
though shalt not leave in debugging blahblah
2005-05-23 16:56:22 +00:00
tg
452dd16298
add a new, easier, faster build script
2005-05-23 16:48:52 +00:00
tg
2d4ffced84
Initial revision
2005-05-23 16:43:22 +00:00
tg
b15b51c106
Initial revision
2005-05-23 16:43:20 +00:00
tg
16fb264efc
aaaand: Interix.
2005-05-23 16:23:19 +00:00
tg
1550fdbd1f
bring back old-ed(1) history-ed tests, for MS Interix
...
no comment...
2005-05-23 16:17:00 +00:00
tg
3f570d7cc7
now passes on Solaris (-Wall -W -Wno-char-subscripts) too
2005-05-23 15:54:31 +00:00
tg
37d3bd813d
no persistent history (flock missing), no arc4random, etc. for Solaris
2005-05-23 15:36:56 +00:00
tg
dc5614a091
missing preprocessor defines on Solaris
2005-05-23 15:24:43 +00:00
tg
c0d3fd1ef7
-Wformat catched on solaris
2005-05-23 15:23:12 +00:00
tg
b8a06e0fbe
* Solaris misses sig_t
...
* our gmatch becomes gmatchx, it's extended against sh(C)
2005-05-23 15:18:17 +00:00
tg
ca0fb8f0da
now passes on GNU/Linux with __CRAZY=1 -std=gnu99 (broken system headers ;)
2005-05-23 15:09:22 +00:00
tg
3ff2d99654
we don't support OS/2 anyway (a pity)
2005-05-23 15:03:04 +00:00