[PATCH] macros: Use conservative default for malloc(0) when cross-compiling #24460
Mikhail Gusarov
dottedmag at dottedmag.net
Wed Dec 9 14:19:36 PST 2009
Twas brillig at 16:17:49 09.12.2009 UTC-05 when memsize at videotron.ca did gyre and gimble:
>> I'd prefer configure to explicitly fail instead of silently making
>> choices behind my back.
GN> I looked at the code using MALLOC_0_RETURNS_NULL and malloc(0) is
GN> replaced with malloc(1) to avoid a NULL being returned. A
GN> production or benchmark build should still pass the correct value
GN> for an optimum build. Would that information influence your
GN> preference?
Oops, sorry for not researching the subject before. No objections then.
--
http://fossarchy.blogspot.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-devel/attachments/20091210/bb3aaeaf/attachment.pgp
More information about the xorg-devel
mailing list