
31 Mar
2009
31 Mar
'09
9:34 p.m.
On Tue, Mar 31, 2009 at 02:29:02PM +0100, Daniel P. Berrange wrote:
On Tue, Mar 31, 2009 at 12:04:00PM +0200, Daniel Veillard wrote: Actually, the buffer is the exact right size, because that 'buf.st_size' was filled by a lstat() call, and the POSIX semantics for lstat() are that 'st_size' will contain the number of bytes in the destination filename. At least that's what this post claims....
Okay, thanks for double-checking, ACK ! Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/