I wrote: > I've just removed all tests for HAVE_FCNTL_H from coreutils. > It's been gone in at least one place since coreutils-5.0 (2003-04-02) > and no one has complained, so I think it's safe to say every system > we care about has fcntl.h, now. > > If you know of a system (reasonable portability target) > that lacks fcntl.h, speak now. > > Tomorrow I plan to remove all #if HAVE_FCNTL_H tests, > retaining only the `if' branch. Likewise, there is no > need to check for fcntl.h in .m4 macros.
I've just done the same for gnulib: [lib] 2005-07-01 Jim Meyering <[EMAIL PROTECTED]> * chown.c, cloexec.c, dup-safer.c, dup2.c, fsusage.c, getcwd.c: * getloadavg.c, mountlist.c, openat.h, pagealign_alloc.c: * save-cwd.c, tempname.c: Assume HAVE_FCNTL_H (i.e., include <fcntl.h> unconditionally, and don't include <sys/file.h>). [m4] 2005-07-02 Jim Meyering <[EMAIL PROTECTED]> * chown.m4, cloexec.m4, dup2.m4, fsusage.m4: * getcwd-path-max.m4, getcwd.m4, mkstemp.m4, mountlist.m4: * pagealign_alloc.m4, save-cwd.m4, unistd-safer.m4: Don't check for fcntl.h, and don't test for HAVE_FCNTL_H. _______________________________________________ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib