shadow, malloc, and gcc 3.4

Gregory Davis gregdavis at ieee.org
Fri May 7 10:19:13 PDT 2004


Shadow has an xmalloc function in a file that declares malloc as an extern, 
but it screws up the function signature.  Make then bombs on 
libmisc/xmalloc.c.  My patch fixes that, but the CVS shadow already has 
different solution:  remove the extern declaration altogether.  Mine works 
too, and didn't have time to try the CVS way.

Greg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shadow-4.0.4.1-xmalloc-1.patch
Type: text/x-diff
Size: 896 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/patches/attachments/20040507/b44e7982/attachment.patch>


More information about the patches mailing list