[Libvir] [PATCH] Move common buffer code to lib/ directory

Richard W.M. Jones rjones at redhat.com
Tue Jun 26 14:32:20 UTC 2007

I haven't quite got to my goal of removing _GNU_SOURCE (yet), but this 
patch along the way creates a lib/ subdirectory and moves the common 
buffer code (from qemud/buf.[ch] and in src/xml.[ch]) there.

There are many, many places which call the buffer functions without 
checking the return value.  I have manually verified / fixed up the 
calls which do bother to check return values, but not added any more 
checks where they don't.


Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-lib-20070626.patch
Type: text/x-patch
Size: 103441 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070626/d6d75732/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070626/d6d75732/attachment-0003.bin>

More information about the libvir-list mailing list