[libvirt] [PATCH] Fix uses of virFileMakePath.

Daniel Veillard veillard at redhat.com
Wed Jan 20 23:55:43 UTC 2010


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 at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list