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
tg
f6a30adbee
* adapt the three history-ed tests to a modern ed(1) which prints the
...
number of characters to stderr not stdout
* fix the history-ed-3 test to check for COMPLEX HISTORY option instead
2005-05-23 15:02:04 +00:00
tg
5b1a2fe3a9
fix running of all tests
2005-05-23 14:48:21 +00:00
tg
820f4b1de1
always use rand(3) on platforms without arc4random(3) and seed it
2005-05-23 14:22:03 +00:00
tg
8266c126ac
* add definition of __RCSID if not yet existant (GNU/Linux)
...
* add declarations of strlcpy and strlcat (for GNU/Linux, again)
* always include <sys/resource.h>
* some more compile / warning fixes
2005-05-23 14:19:14 +00:00
tg
f7402a2cc8
prevent Mac OSX from executing the test which crashes its perl
...
(still valid for Tiger)
with that, mksh R21 works on it (no build script yet, sorry)
2005-05-23 14:07:40 +00:00
tg
c72ac29991
let i=0xAFFE works in ksh88 (/bin/ksh on Solaris), octals are special to us
2005-05-23 13:44:13 +00:00
tg
13afe3c10c
some spacing; move array into function
2005-05-23 12:06:39 +00:00
tg
f158d4d0df
support getting sys_siglist[], sys_signame[] and NSIG retrieval
...
for portable mksh on various operating systems
2005-05-23 12:01:09 +00:00
tg
7af5be731b
* if __CRAZY, automatically add CDIAGFLAGS, and add them AFTER our
...
crazy warning options
* use it for mksh
2005-05-23 11:59:06 +00:00
tg
cd7b8bd79b
Add mirbsdksh R21, which was developed in a temporary external CVS repo-
...
sitory whose ChangeLog follows. mksh R21 is licenced under the MirOS li-
cence, shown in "sh.h", and a two-clause UCB-style licence by Marc Espie
as shown in "alloc.c".
This executable is a fair bit smaller and shorter than our /bin/ksh that
it is designed to eventually replace (as /bin/sh hardlink), with the old
/bin/ksh to completely vanish. It is still in beta testing though, and I
don't think it will compile on other operating systems.
mksh R21 is a completely new port, bringing together the OpenBSD-current
/bin/ksh, the MirOS-current /bin/ksh and the older mksh R20 (which still
was portable, ocvs-based).
2005-05-23 03:06:10 +00:00
tg
d8d708aa45
* un-hook bin/ksh, usr.bin/xmlwf and lib/libexpat from the build
...
- expat as discussed with bsiegert@ today on the phone
- ksh as announced earlier on the lists
* un-hook lib/libexpat from make includes
* remove /usr/include/{,open}ssl upgrade workaround from includes/Makefile
* nuke old bin/ksh
* nuke libexpat and xmlwf
2005-10-21 11:33:15 +00:00