
On Tue, Mar 31, 2009 at 11:34:21PM +0200, Daniel Veillard wrote:
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 !
Committed this new virFileResolveLink() patch, and the other pieces of the original patch in this thread Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|