[Bugs] [Bug 1409767] The API glfs_h_poll_upcall cannot return 0 and set an errno to denote no entries
bugzilla at redhat.com
bugzilla at redhat.com
Mon Jan 9 13:31:20 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1409767
Niels de Vos <ndevos at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |avishwan at redhat.com,
| |ndevos at redhat.com
Flags| |needinfo?(avishwan at redhat.c
| |om)
--- Comment #1 from Niels de Vos <ndevos at redhat.com> ---
My preference goes to setting errno to 0 in case the of success. But according
to the man-page, this needs to be done by the application before calling the
function (glfs_h_pull_upcall() in this case).
Applications checking for the returned cbk object are taking a pretty safe
route :)
I am not sure what the implications would be to return -1 when there are no
upcalls pending. This needs to be investigated among the users of the API. If
this breaks applications, we can add a versioned symbol, but that adds some
maintenance overhead as well...
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=7MJPbJLxjF&a=cc_unsubscribe
More information about the Bugs
mailing list