[ccan] A couple patches to make tools/ccan_depends --compile work.

Joseph Adams joeyadams3.14159 at gmail.com
Fri Feb 25 15:39:45 EST 2011


tools/ccan_depends --compile didn't work because _info files are
compiled in /tmp/..., but they include "config.h".  The first patch
adds "-I." to the compile switches for _info so it works now.

The second patch fixes a segfault when the slash is omitted in the
module directory:

$ tools/ccan_depends ccan/talloc
Segmentation fault


Thanks!
- Joey Adams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-tools-Added-I.-to-fix-ccan_depends-compile.patch
Type: text/x-patch
Size: 797 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/ccan/attachments/20110224/49f6af33/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-tools-Fixed-unchecked-strrchr-in-a-couple-places.patch
Type: text/x-patch
Size: 1510 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/ccan/attachments/20110224/49f6af33/attachment-0001.bin>


More information about the ccan mailing list