Jim Meyering 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 (2004-04-02)
>
> The same applies to HAVE_UNISTD_H and unistd.h

One platform still does not have <unistd.h>: It's Woe32 with the MSVC
compiler. It's unfortunately a major platform, and still alive.

Also, <unistd.h> is less dependable for GNU programs than <fcntl.h>,
because someone creates a brand new operating system different in style
from Unix, he will typically implement the ISO C headers but not POSIX
<unistd.h>. (Some recent operating systems like BeOS or MacOS X have
a Unix underneath, but others don't.)

So for the sake of ease of porting to new OSes, I would leave HAVE_UNISTD_H
in place.

Bruno



_______________________________________________
bug-gnulib mailing list
bug-gnulib@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnulib

Reply via email to