cross compile m4 macro
Nick Mathewson
nickm at freehaven.net
Tue Aug 8 23:19:09 UTC 2006
On Tue, Jul 25, 2006 at 09:15:24AM +0100, freddyz77 at tin.it wrote:
> Hi,
> I changed a bit your macro for memset(0) test (I also changed
> some names to use in another project). Attached. It use a grep to
> detect if NULL is the same of setting bytes to zero.
>
> bye
> freddy77
Hi! This is very clever, but we probably won't apply it. First, the
point of the test is only to give an early warning if we'll break from
having an unexpected-but-legal representation for NULL; we don't have
sane fallback behavior here, so invoking it doesn't seem so important.
Also, this test has potential for false positives on compilers that do
funny by legal things with memory layout.
yrs,
--
Nick Mathewson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 652 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20060808/1a24c6ab/attachment.pgp>
More information about the tor-dev
mailing list