diff options
author | Sami Kerola | 2016-04-16 16:43:17 +0200 |
---|---|---|
committer | Sami Kerola | 2016-04-17 00:09:26 +0200 |
commit | 400423824a6810aa0ec09b0d1cae34e420cfa781 (patch) | |
tree | 84cf5ca9926f26901b9044136014d936815229a6 /term-utils/script.c | |
parent | script: close file descriptors on exec (diff) | |
download | kernel-qcow2-util-linux-400423824a6810aa0ec09b0d1cae34e420cfa781.tar.gz kernel-qcow2-util-linux-400423824a6810aa0ec09b0d1cae34e420cfa781.tar.xz kernel-qcow2-util-linux-400423824a6810aa0ec09b0d1cae34e420cfa781.zip |
sulogin: make fopen O_CLOEXEC specifier usage portable
The close at exit specifier "e" is glibc extension, so use it only if when
the extension is available.
Proposed-by: Ruediger Meier <sweet_f_a@gmx.de>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'term-utils/script.c')
0 files changed, 0 insertions, 0 deletions