[PATCH] Fix for dumping objects to a buffer instead of file descriptor

Bushman, Jeff JBushman at ciena.com
Wed May 16 11:50:25 EDT 2012


Thomas,

Attached is a patch to fix two problems with dumping objects to a buffer instead of a file descriptor.
One was a problem in detecting the end of the buffer in the newline code.
The other was a problem with clearing the whole buffer before printing each object.

Jeff

Jeffrey M. Bushman | Software Engineer 4
jbushman at ciena.com<mailto:jbushman at ciena.com> | 1185 Sanctuary Pkwy, Ste 300 | Alpharetta, GA 30009 USA
Direct +1.678.867.3572 | Fax +1.678.867.5101

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20120516/cbfc1fd3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dump_to_buffer.patch
Type: application/octet-stream
Size: 1761 bytes
Desc: dump_to_buffer.patch
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20120516/cbfc1fd3/attachment.obj>


More information about the libnl mailing list