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

Re: [Xen-devel] [PATCH] mini-os: implement poll(2)



Wei Liu, le Tue 19 Feb 2013 15:54:13 +0000, a écrit :
> if fd >= NOFILE, revents = POLLNVAL.

"invalid" is also "not opened". You should additionally test that
files[i].type != FTYPE_NONE.

Samuel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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