
20 Jan
2010
20 Jan
'10
6:55 p.m.
On Wed, Jan 20, 2010 at 09:32:56PM +0100, Daniel Veillard wrote:
On Wed, Jan 20, 2010 at 02:32:36AM -0500, Laine Stump wrote:
When I modified the use of virFileMakePath in my own code, I noticed that it was checking for a return < 0 to indicate error, but I had seen in virFileMakePath that it returns 0 for success, or the value of errno on failure, and errno is usually (always?) >=0. Seeing incorrect usage in one place, I investigated and found several others.
Ah, right !!!
ACK
Pushed too, thanks ! 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/