diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-09-22 06:05:39 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-09-22 06:05:39 +0000 |
commit | 2d0c5eefd05ebe38eaf003940b4fd0feaa3e7b2f (patch) | |
tree | 844383b486a93f7f0ca0082e33a2ee4b04c7344a /lib/cloexec.c | |
parent | 5a43b499b16b9eee62185953677ef2b0b32395e2 (diff) | |
download | coreutils-2d0c5eefd05ebe38eaf003940b4fd0feaa3e7b2f.tar.xz |
Sync from gnulib.
Diffstat (limited to 'lib/cloexec.c')
-rw-r--r-- | lib/cloexec.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/cloexec.c b/lib/cloexec.c index cfffa53b8..cf2308ca1 100644 --- a/lib/cloexec.c +++ b/lib/cloexec.c @@ -1,5 +1,5 @@ /* closexec.c - set or clear the close-on-exec descriptor flag - Copyright (C) 1991, 2004 Free Software Foundation, Inc. + Copyright (C) 1991, 2004, 2005 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,14 +17,13 @@ The code is taken from glibc/manual/llio.texi */ -#if HAVE_CONFIG_H +#ifdef HAVE_CONFIG_H # include <config.h> #endif #include "cloexec.h" #include <unistd.h> - #include <fcntl.h> #ifndef FD_CLOEXEC |