bug-gnulib
[Top][All Lists]
Advanced

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

Re: readlink vs. getopt-gnu


From: Eric Blake
Subject: Re: readlink vs. getopt-gnu
Date: Thu, 01 Oct 2009 06:18:23 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Eric Blake on 9/24/2009 11:19 AM:
> The solution?  ./optarg.h MUST do a split inclusion guard use of include_next 
> <optarg.h>, if the system has a native <optarg.h>, then not bother to include 
> <unistd.h> in that case.  I could played with a change to unistd.in.h to 
> check 
> for __UNISTD_GETOPT__, similar to how stdio.in.h checks for __need_FILE, but 
> since the getopt.in.h change in isolation was enough, I didn't do it for now.

> diff --git a/m4/getopt.m4 b/m4/getopt.m4
> index 7443dfe..53a1a7e 100644
> --- a/m4/getopt.m4
> +++ b/m4/getopt.m4
> @@ -54,6 +54,15 @@ AC_DEFUN([gl_GETOPT_CHECK_HEADERS],

I forgot to bump the serial number of getopt.m4; now complete.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrEng8ACgkQ84KuGfSFAYD7zwCePYUjJsaRF6HO9kdwp0T75Aj7
xCEAoIqu2i/3EStwi9iIbCVDoNpNSygh
=9gjz
-----END PGP SIGNATURE-----




reply via email to

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