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
tg
126eb43ab3
improve wording and remove a dead check
2007-06-30 21:01:42 +00:00
tg
1336e9f1bb
modularise, optimise, upgrade coding style(9), display nicer
2007-06-30 20:57:55 +00:00
tg
0cc45784ca
nuke $tcbo (unused)
2007-06-30 20:04:23 +00:00
tg
360c956b10
make HAVE_CPP_DD a 0/1/undef mirtoconf value like the others
...
XXX maybe generalise the logic from there and ac_testn
XXX offer the user to give list of known signal names (and NSIG? or ignore?)
2007-06-30 19:58:51 +00:00
tg
af5c570143
• bugfix – "printf %d '(1)'" is a syntax error too, enhance character class
...
• speed up – I don't worry about embedded control characters in the source,
as jupp(1) handles these just fine [http://mirbsd.de/jupp ]
2007-06-30 19:48:04 +00:00
tg
ca17798533
this is bash compatibility week, and by suggestion of actual users,
...
namely Dr. Robert “Pfeffer” Arnold (in this case, in FreeWRT), make
a half-completed attempt at implementing ${foo:2:3} substring evals
(of course, negatives can't work right now and that the numbers are
in face expressions is something I only read later too – this is to
be revisited later, but it's already late)
don't depend on this behaviour yet though
if someone wants to add more regression tests, feel free to…
2007-06-27 23:12:59 +00:00
tg
0675b8f25b
one check seems to fail on ecce!GNU/Linux 1.0 – but that is perl’s fault
2007-06-23 22:48:47 +00:00
tg
265e82757f
kludge for intel's c(rap) compiler
2007-06-23 20:51:21 +00:00
tg
7796820c82
now that we're definitively at 40 pages for the PDF manual, revert some of
...
the changes in r1.81, and improve wording further
2007-06-23 19:07:14 +00:00
tg
0cd850b207
optimise – we already did that one range check before
2007-06-23 00:05:04 +00:00
tg
3a94b076a0
implement bash-style array initialisation, as requested by many
...
still experimental
2007-06-22 23:34:42 +00:00
tg
4fef868b6d
solve the ugly warnings, be more consistent, allow __attribute__ to depend
...
on compiler option features, etc.
2007-06-21 16:11:37 +00:00
tg
d42f966d22
rewrite some code; bug found by HP's C compiler
2007-06-21 16:04:46 +00:00
tg
f738b28b3b
this solves
...
| HP-UX td193 B.11.31 U ia64 2909796781 unlimited-user license
| cc: HP C/aC++ B3910B A.06.14 [Feb 22 2007]
| ld: 92453-07 linker ld HP Itanium(R) B.12.43 IPF/IPF
| Total failed: 1 (as expected)
| Total passed: 220
except for an ugly warning
2007-06-21 15:53:14 +00:00
tg
bf503a1fa0
make this build with
...
| cpp.ansi: HP92453-01 B.11.31.01 HP C Preprocessor (ANSI)
| ccom: HP92453-01 B.11.X.36086-36089-36092.GP HP C Compiler
| /usr/ccs/bin/ld: 92453-07 linker linker ld B.11.60 070209
on
| mirbsd@td191:~/mksh $ uname -a
| HP-UX td191 B.11.31 U 9000/800 3397116299 unlimited-user license
resulting in
| Total failed: 1 (as expected)
| Total passed: 220
so I suppose it's no longer experimental on HP-UX… it also works on/with
| HP-UX td192 B.11.11 U 9000/800 1839940656 unlimited-user license
| gcc version 3.4.2
| Can't locate POSIX.pm in @INC…
and
| HP-UX td192 B.11.11 U 9000/800 1839940656 unlimited-user license
| cpp.ansi: HP92453-01 B.11.X.35175-35176.GP HP C Preprocessor (ANSI)
| ccom: HP92453-01 B.11.X.36086-36089-36092.GP HP C Compiler
| /usr/ccs/bin/ld: 92453-07 linker linker ld B.11.60 070209
and
| HP-UX td176 B.11.23 U ia64 1928826293 unlimited-user license
| Reading specs from /usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/specs
| Total failed: 1 (as expected)
| Total passed: 219
still work to do for HP C on IA64
2007-06-21 15:43:33 +00:00
tg
3a563948ec
accomodate stupid Slackware 11 (if you're a slack user, pity you)
2007-06-20 13:38:18 +00:00