[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH RFC v2 02/13] libxenstore: Provide xs_check_watch



On Fri, 2011-10-28 at 19:37 +0100, Ian Jackson wrote:
> +
> +out_false:
> +     if (nonblocking) {
> +             int e = errno;
> +             setnonblock(fd, 0);
> +             errno = e;
> +     }

Since setnonblock cannot itself return an error should it always
preserve errno on behalf of the caller?

Ian.



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.