fd_close() conceals errors

From: Paul Jarc <prj_at_case.edu>
Date: Mon, 27 Apr 2020 05:15:15 -0400

Hi Laurent. It's been a while. :)

I'm updating my packages to catch up with skalibs, gcc warnings, etc.,
and fd_close() returning void is one of the changes that hit me.
Looking over past discussions, I agree that POSIX is a mess
here--nevertheless, given that close() is the way it is, I think it's
best for fd_close() to report errors other than EINTR to the caller.
What do you think?




Received on Mon Apr 27 2020 - 09:15:15 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC