bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FYI: removing HAVE_FCNTL_H tests


From: Jim Meyering
Subject: Re: FYI: removing HAVE_FCNTL_H tests
Date: Sat, 02 Jul 2005 12:05:30 +0200

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  <address@hidden>

        * 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  <address@hidden>

        * 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]