-------- Original Message --------
Subject: [PATCH] tru64: compile (src/nci.c) and runtime (src/memory.c)
Date: Sun, 03 Dec 2006 16:54:03 -0500
From: Jarkko Hietaniemi <j...@iki.fi>
Reply-To: j...@iki.fi
To: Perl6 Internals List <perl6-i...@perl.org>
Two patches, the first is needed for parrot trunk to compile at all
in Tru64, the second one is needed to dodge dozens of core dumps.
There still are some, will take a closer look when I have more time,
but least this way there is less wading in core dumps.
In more detail:
The first one is required because otherwise the strange 0xc4 in the
string constant makes the tru64 compiler quite unhappy. (I haven't
looked in detail but I think that without extra flags the tru64 compiler
allows only pure ASCII in string constants).
The second one: in tru64 malloc/calloc/realloc of zero bytes returns
a NULL ptr (quite logical, in a way: you couldn't put anything in a
memory block of zero bytes...). I guess one could be fancier and
add a probe for this feature in Configure.pl, but I was feeling lazy.
Thanks!
Jonathan