tg
3e5b234965
these are actually cool people, I think
2007-07-26 22:38:31 +00:00
tg
b9da9d4ea3
if the shell doesn't know the cwd, “builtin pwd” won't either
2007-07-26 13:37:21 +00:00
tg
8c958b410d
small textual nits
2007-07-26 13:35:58 +00:00
tg
b8a693ed68
mention ${foo:2:3} limitations
2007-07-26 13:32:16 +00:00
tg
3718a00106
• test on HURD (gnubber)
...
• fix unreachable code (break stmt) cought by suncc on yofuh's E420
• bump vsn to today
2007-07-26 13:23:52 +00:00
tg
7374f12176
some more not-so working platforms
...
can't extend the working ones better since my UWIN decided to break
after MSVC++ Expreß seems to have “upgraded” some libraries… *sigh*
2007-07-24 21:54:46 +00:00
tg
b20e5a90ce
initial support for PW32, not quite working yet (same issues as Minix 3 and Plan 9, I think)
2007-07-24 21:47:14 +00:00
tg
e37577de42
fix another errexit bug: unwind() is __dead, so the pseudo-signal was never
...
delivered to the process
• regression test by Clint Pachl, verified against Debian ksh93 by me
• place to fix it in the code discovered by Otto Moerbeek
2007-07-24 11:22:04 +00:00
tg
f2a52c65fa
… and fix that bug.
...
Guvf pbzzvg haxabjvatyl fcbafberq
ol NheVFC ToE, fvapr jr hfr zxfu,
naq zl bgure gnfxf ner jnvgvat...
2007-07-23 14:28:52 +00:00
tg
7c0209771c
more testcase – currently broken… had thought of this but apparently not done
2007-07-23 14:10:48 +00:00
tg
b09b3621e2
• we had an unused variable leftover
...
• make warning-free for both gcc and xlC
2007-07-22 14:01:50 +00:00
tg
748d09122a
de-experimental AIX
2007-07-22 13:47:10 +00:00
tg
a1433b7122
• Build.sh: always prepend well-known signal names, so that some signals
...
will not come up weirdly (e.g. on AIX: SIGSAK (SIGMAX?), SIGIO (SIGAIO?),
SIGURG (SIGIOINT?)), and add a few more while here
• check.t, sh.h: bump
2007-07-22 13:46:15 +00:00
tg
cf5fc9eac2
some null/NUL
2007-07-22 13:38:26 +00:00
tg
979406bba7
• support IBM xlC on AIX
...
• fix all bugs it could find ☺
2007-07-22 13:34:52 +00:00
tg
211ecedf4e
• move __GNUC__ test quite to the bottom, since I fear other compilers,
...
such as icc, define it too
• provide a Rebuild.sh skipping the mirtoconf checks – devel only!
2007-07-22 13:08:54 +00:00
tg
29d4125e3c
switch $CC default from gcc to cc, as we support most native compilers now,
...
and – with Daniel's words – das ist doch kein Rumgeleenockse hier!
2007-07-17 19:41:26 +00:00
tg
56a8da33cf
• make the "if called as sh, set FPOSIX" not !SMALL-only
...
• bump to R30-gamma, feature freeze
2007-07-17 13:56:51 +00:00
tg
823f5c2a17
hopefully fix large file stuff for real
2007-07-09 11:19:55 +00:00
tg
4422137a88
introduce SADELIM_MAKE matching style – ${foo:S/bar/baz/flags} –
...
to complement SADELIM_BASH, as before – ${foo/bar/baz} –
but ifdef'd out for now, so probably no coding style. also new
is a flags array (not declared yet)
2007-07-07 22:29:36 +00:00
tg
cd80bc8012
these can't be nested and are expected to fail, although our error message
...
is different from bash's that's okay
2007-07-06 11:54:34 +00:00
tg
a29f4f60f8
I'm an idiot and this looks better and is more KISS (I suppose)
...
too bad I don't just wrap it in braces
2007-07-06 02:39:37 +00:00
tg
fca52a0f6a
give the lexer a bigger state stack if !MKSH_SMALL
2007-07-06 02:24:18 +00:00
tg
78d58de7a0
fix the rest of it
2007-07-06 02:22:57 +00:00
tg
26a6e5acc9
make this pass varexpand-substr-1 and ‘c’ of varexpand-substr-2
...
by actually using the lexer and parser for that
2007-07-06 01:53:36 +00:00
tg
c9db9eb092
more bash-like behaviour here, oeps
2007-07-06 01:37:39 +00:00
tg
85a4a1d9c4
fix the regression test, mksh fails it now
2007-07-06 01:30:32 +00:00
tg
e6055dbf19
better position for that (cosmetics)
2007-07-05 23:48:53 +00:00
tg
fafd6998bd
remove some uwin kludges, just live with it
...
keep these that are indeed correct though
2007-07-05 11:49:07 +00:00
tg
888740cf66
fix what happens after we check for -D_FILE_OFFSET_BITS=64 – actually
...
use it. discovered in debian 29.6-2 by hondza via IRC, thanks a lot!
2007-07-04 14:53:19 +00:00
tg
18804b3555
silence a gcc-4.2 warning and, in doing so, save quite a few operations:
...
• a NUL termination
• a strlen()
• a pointer comparision
• eventually a function call
replaced by
• a pointer subtraction
2007-07-01 22:17:29 +00:00
tg
77e27b9656
fix temp files not being cleaned up correctly
2007-07-01 21:59:10 +00:00
tg
3ef434d378
fix NOWARN stuff
2007-07-01 21:52:20 +00:00
tg
f948c13a78
• fix display problem
...
• add <libutil.h> if it exists – revoke(2) on UWIN
• add <stdlib.h> for NULL in test of mmap(2)
• regen CPPFLAGS for MirBSD native builds
2007-07-01 21:47:08 +00:00
tg
7004525fcc
• add support for the Borland C++ Builder (on UWIN)
...
• add support for the Digital Mars compiler (on UWIN)
• clean up
• describe new build targets and that UWIN sucks
• bump vsn
2007-07-01 21:27:03 +00:00
tg
2e42fa62b6
Borland C++ found these
2007-07-01 21:10:29 +00:00
tg
320b95ea4f
• ugh, CR-LF line endings
...
• reduce number of temp files used
2007-07-01 19:24:11 +00:00
tg
36188c60be
coerce this into running on UWIN - or rather sort of. Ugly.
2007-07-01 19:04:53 +00:00
tg
af1aa9655f
MSC improvements
2007-07-01 18:00:18 +00:00
tg
e60d1db958
use binmode to fix on UWIN
2007-07-01 18:00:00 +00:00
tg
2f734698d3
• mirtoconf if MS C security checks work (with our C library)
...
• simplify "-Wc," ./. "-X " ./. "-Yc," separation
2007-07-01 17:22:07 +00:00
tg
74c0adf312
mirtoconf for mmap(2), UWIN doesn't have it
2007-07-01 17:19:15 +00:00
tg
9f61aea3de
fix mmap args and retval (cosmetic)
2007-07-01 17:13:52 +00:00
tg
f84505395a
some vendors' cc(1) doesn't support -E from stdin like cpp(1)
2007-07-01 16:57:00 +00:00
tg
572119b454
some <getopt.h> from vendors define a “struct option”, so use a
...
different name for ours
2007-07-01 16:49:18 +00:00
tg
69f7683156
• enable UWIN as operating environment
...
• cover for differences in UWIN's and Interix' cc(1) wrapper
• AT&T tr(1) is defective, just skip + and - chars
2007-07-01 16:47:05 +00:00
tg
cf6137238c
• fix AIX variant of large files
...
• use DOWARN semantically correct
• support the Microsoft® C Compiler
• on Interix, disable msc's security checks, as it relies on
library functions not provided by Interix' libc (XXX mirtoconf this)
2007-07-01 15:45:58 +00:00
tg
7815b5f86e
fix struct packing – Microsoft® C warned about 2x2 bytes of padding here
2007-07-01 15:39:22 +00:00
tg
cf29aa83c5
oops (quoting)
2007-06-30 22:02:50 +00:00
tg
b97fd7f401
optimise, fix quoting, modularise even more
2007-06-30 21:34:23 +00:00