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.... > > http://lists.debian.org/debian-hurd/2001/07/msg00301.html > Okay, thanks for double-checking, ACK ! Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@xxxxxxxxxxxx | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/ -- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list