tg
03acb8ce51
this was NOT intended to be committed; my sincere apologies
2008-11-13 00:36:07 +00:00
tg
d099b00b53
leave at least a working tree, with zero-penalty -DAALLOC_NO_COOKIES
...
XXX cookies are still broken?
cost for aalloc.c: data -= (4, 0, 4, 0); text += (1665, ?, 2115, 2217)
2008-11-12 07:36:19 +00:00
tg
6a4afdde05
add the workaround for Debian #492377 into the main mirtoconf function,
...
because Hanno Böck has something similar triggered on Gentoo as well
2008-11-11 23:20:08 +00:00
tg
f4f4f64492
if ‘-DMKSH_ASSUME_UTF8’, default HAVE_SETLOCALE_CTYPE to 0 since it’s
...
unused then anyway, to save two followup mirtoconf checks and headers
2008-11-11 21:52:51 +00:00
tg
6c02c37e52
add new Build.sh option -llvm for bytecode compilation and link-time
...
intra-module optimisation
2008-11-10 20:25:04 +00:00
tg
446e019c07
the QNX /bin/ed problem is worse than thought; use a new mechanism,
...
because categories in check.t are OR’d:
• no-stderr-ed disables the newish-ed tests (tried using testcase)
• stdout-ed enables the oldish-ed tests (variable, if the above
testcase succeeds, it’s added, but QNX overrides the variable)
2008-11-08 17:36:35 +00:00
tg
2697deb55c
say hello to QNX, sync clog
2008-11-02 23:06:36 +00:00
tg
89e96b6c86
experimental support for <strings.h>
...
cf. http://www.opengroup.org/onlinepubs/009695399/basedefs/strings.h.html
QNX seems to bury some functions in there
2008-11-02 22:29:36 +00:00
tg
e561d9adfe
say hello to nwcc, slightly b0rken though
2008-10-30 17:11:14 +00:00
tg
88d7b7d08b
• rewrite code to no longer use statements-as-expressions
...
• optimise a little
• Build.sh: remove HAVE_EXPSTMT test
• Build.sh, */Makefile: sort tests, regenerate
• mksh.hts: sync clog
2008-10-28 14:32:43 +00:00
ahoka
d5415fb04f
Add BeOS/Haiku platform.
...
Compiles OK on Haiku pre-alpha as of 2008 October,
but currently hangs for unknown reason (could be OS bug).
2008-10-26 21:57:47 +00:00
ahoka
776cc76ccb
Add check for the nice(3) system call.
...
It may be not implemented on some plaforms, though it's usually present.
Required to compile on Haiku as of 2008 October.
2008-10-26 21:51:27 +00:00
tg
00cbdc2d2e
12:51⎜«replaced:#!/bin/mksh» mirabilos: btw haiku port?
...
12:51⎜<mirabilos:#!/bin/mksh> dunno, I run no haiku
12:51⎜<mirabilos:#!/bin/mksh> I don't know anyone who does, either
12:51⎜«replaced:#!/bin/mksh» only caveat it creates nor .aout. nor a.exe by deafult
12:52⎜<mirabilos:#!/bin/mksh> so I focus on more widely-used things such as DEC ULTRIX 4.5 and Digital UNIX
⎜ 2.0 ;)
12:52⎜«replaced:#!/bin/mksh» the problem was
12:52⎜«replaced:#!/bin/mksh» it creates src when you give hime src.c
12:53⎜«replaced:#!/bin/mksh» and it confused your Build.sh
12:54⎜<mirabilos:#!/bin/mksh> which compiler does it use?
12:55⎜«replaced:#!/bin/mksh» gcc 2.95
this might(!) be enough to support this weirdity. untested.
12:57⎜«replaced:#!/bin/mksh» can you commit that?
12:57⎜«replaced:#!/bin/mksh» i will try it
12:57⎜«replaced:#!/bin/mksh» but a bit later
2008-10-25 12:58:41 +00:00
tg
9fca87b9c3
replace some cat with echo for speed
2008-10-24 21:35:21 +00:00
tg
19b711692f
fix mis-reporting gcc on OSF/1 V5.1 as dec due to the
...
rule we need to use to identify dec c on OSF/1 V2.0
2008-10-24 20:01:42 +00:00
tg
099cc33236
ucode is very similar to dec c; improve version reporting
2008-10-24 19:59:54 +00:00
tg
e2b13ffeae
say hello to mksh on OSF/1 V2.0
...
the trick is to use static linking…
2008-10-24 19:55:35 +00:00
tg
a82a5e57f7
/bin/sh on DEC OSF/1 V2.0 (Digital UNIX) is a true Bourne Shell, so it sucks
2008-10-24 19:55:06 +00:00
tg
0c2de1902c
• change mksh to only then behave more POSuXish when called as /bin/sh or
...
“-sh” if -DMKSH_BINSHREDUCED was passed during compilation, for example
for Debian, but d̲e̲f̲i̲n̲i̲t̲i̲v̲e̲l̲y̲ n̲̲o̲̲t̲̲ for MirBSD™
• split up regression test to force this behaviour
• remove the gunk from our MirBSD™ startup scripts again
• mention arc4random.c changes on website, sync clog, warn packagers
2008-10-20 19:29:25 +00:00
tg
ea72bd1b76
improve version reporting on modern AIX/xlC
...
XXX both cc -qversion and ld -V give errors on AIX 5.2 / xlC V7.0…
2008-10-10 21:57:16 +00:00
tg
25a8d9095d
AIX has no UTF-8 locale:
...
aixuser@pscp520v5:~/bcc $ locale -a
C
POSIX
en_US
en_US.8859-15
en_US.ISO8859-1
aixuser@pscp520v5:~/bcc $ uname -a
AIX pscp520v5 3 5 00C56E7D4C00
2008-10-10 21:36:04 +00:00
tg
78a49e8faf
miwi noticed that <libutil.h> on ViehBSE has a prerequisite header, but
...
didn’t tell me which one (T H A N K S !)… since I have no FleaBSD shell
account, I tried on DragonFly and MidnightBSD, which both are content
when adding <sys/types.h> first… let’s hope this fixes all 386BSD derivates
2008-10-04 19:13:22 +00:00
tg
8f5eda8859
remove the problematic ‘-q’ option, which causes trouble under unclear
...
circumstances, like some FreeBSD 8 (beta) incarnations (yet not others)
2008-09-30 17:34:25 +00:00
tg
024f0e161d
heirloom-sh and Solaris /bin/sh caught use of $NROFF before definition
...
10x Elias Pipping for noticing
2008-07-21 21:00:25 +00:00
tg
a125045432
ptrdiff_t needs <stddef.h>
2008-07-18 11:42:52 +00:00
tg
cae7468fe6
(possible) warning cleanup
2008-07-18 11:34:20 +00:00
tg
eff47cf33b
this isn't needed, from pdksh
2008-07-17 15:17:46 +00:00
tg
79de8c1eb0
add some cppflags from pdksh
2008-07-17 14:50:24 +00:00
tg
f894288204
BSDi BSD/OS 3.1’s /bin/ksh (PD KSH v5.2.8 96/08/19) is horridly broken and
...
removes the \n part of a “\\\n” sequence, but not the backslash ⇒ we can’t
use line continuation in a here document
someone might want to add this to *(autoconf) Portable Shell::
2008-07-15 23:44:51 +00:00
tg
31145570ef
with dietlibc, <ulimit.h> requires <sys/types.h>, and as we unconditionally
...
include the latter anyway, just add it as a scan time requirement header
from Debian package
2008-07-15 20:54:47 +00:00
tg
5d25a177a2
better
2008-07-14 15:06:02 +00:00
tg
66e1416bb4
• handle perls without $^O better
...
• allow user to specify $PERL environment variable containing path to the
perl5 interpreter to use, for Elias Pipping
2008-07-14 14:59:20 +00:00
tg
e171d0fc11
protect test.sh some from being called by !mksh, as homsn did…
2008-07-14 14:40:47 +00:00
tg
a9f219dd60
if MKSH_AFREE_DEBUG is defined, guard against wrong frees
2008-07-13 16:43:55 +00:00
tg
1619fa2538
• Build.sh, check.t: bring back the 'smksh' check category, which was
...
missing for a while yet its disappearance was unnoticed because…
• distrib/special/mksh/Makefile: sync check categories, this was missed
• mksh.hts: sync clog
2008-07-11 19:51:23 +00:00
tg
a36a925ea6
IRIX also does not have any UTF-8 locale at all
...
confirmed by Elias Pipping, 10x
2008-07-11 18:31:10 +00:00
tg
7c239cd369
no UTF-8 locales on OSF/1 V5.1B, either
2008-07-10 18:55:43 +00:00
tg
7530a147e6
let’s find sizer on OSF/1 if it’s not in the PATH
2008-07-10 18:49:22 +00:00
tg
b8980a59c1
gcc -v also accepts a file argument, and 'diet gcc -v' croaks, so…
2008-07-08 21:14:42 +00:00
tg
1f0e071c6d
dump the perl $^O string in the logs… all Debian GNU/kFreeBSD developers
...
I can ping right now “need to refresh their keys on io/asdfasdf” or have
their machines unreachable… and I lost my VM to fsck recently (remember)
2008-07-08 21:05:01 +00:00
tg
077dbf2dd4
fix HP aCC compiler version identification
2008-07-06 23:19:31 +00:00
tg
667f309387
support arc4random.c in build but not src dir, too
2008-06-29 19:46:56 +00:00
tg
941d228f99
some basic LLVM+clang (with “ccc” driver example) support
2008-06-29 18:18:56 +00:00
tg
d20bb52049
remove llvm-clang artefacts in more places
2008-06-29 18:08:55 +00:00
tg
edb83bf872
remove a.out.s and a.out.bc (llvm-clang fallout) too
2008-06-28 23:00:43 +00:00
tg
1863471854
improve Mac OSX version reporting
2008-06-22 20:51:31 +00:00
tg
9fabfb278f
SUNw,cc is one of the compilers whose version reporting works better when
...
compiling a demo programme at the same time
2008-06-21 19:38:41 +00:00
tg
5d73013c02
remove check_category “pdksh”, it starts to make trouble and was never
...
taken seriously anyway, just historic ballast
2008-06-21 19:20:15 +00:00
tg
f7d5a16363
What is valid for Build.sh should be valid for test.sh too.
...
In this case: reset the locale to “C” at start.
Otherwise, perl/OpenBSD fails in an UTF-8 environment, just
because OpenBSD 4.3/zaurus still has no locales in 2008.
2008-05-20 18:47:06 +00:00
tg
b41a72ac2e
add new builtin “realpath” calling realpath(3) on its argument, skipping
...
over “--” for compatibility to Debian realpath(1) and possibly busybox’
“sounds handy” replaced@TNF
2008-05-17 18:27:57 +00:00