[Libguestfs] [PATCH 2/2] Update pwrite to write a full buffer

Matthew Booth mbooth at redhat.com
Tue Sep 21 10:23:12 UTC 2010


This patch changes pwrite such that it will never return a short write. This
is a backwards compatible API change, as checking for short writes remains
correct, but redundant.
---
 daemon/file.c                  |   20 +++++++++++++-------
 generator/generator_actions.ml |    6 ------
 2 files changed, 13 insertions(+), 13 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Update-pwrite-to-write-a-full-buffer.patch
Type: text/x-patch
Size: 1886 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20100921/8d975306/attachment.bin>


More information about the Libguestfs mailing list