diff options
author | Jim Meyering <jim@meyering.net> | 2004-03-04 08:42:20 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-03-04 08:42:20 +0000 |
commit | a1c30fd7d14b21443adf9ed9525474723a25f7e4 (patch) | |
tree | 69fdc7175b74497c95b348d240dc5a86af59b94f /lib/xstrtoumax.c | |
parent | e819dd0dd9c2b76a57c78944c4835a7a3ea5ccfe (diff) | |
download | coreutils-a1c30fd7d14b21443adf9ed9525474723a25f7e4.tar.xz |
Include "cloexec.h" first, and <unistd.h> before <fcntl.h>.
(set_cloexec_flag): Use bool for booleans. All uses changed.
If F_GETFD returns a negative number (not just -1), report a
failure. Don't use F_SETFD if the flags are already right.
Don't report a failure with F_SETFD unless it returns -1.
Diffstat (limited to 'lib/xstrtoumax.c')
0 files changed, 0 insertions, 0 deletions