bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] getopt: omit HAVE_OPTRESET, HAVE_GETOPT_CLIP from config.h


From: Paul Eggert
Subject: Re: [PATCH] getopt: omit HAVE_OPTRESET, HAVE_GETOPT_CLIP from config.h
Date: Sat, 22 Jan 2011 12:39:36 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7

On 01/21/2011 11:33 PM, Bruno Haible wrote:
> Is it intentional that you replaced the #include <getopt.h> with
> #include <unistd.h>?
> ... 
> Is it because of the BSD manual pages [1]?

Yes, I figured that I should have the test rely on the documented
BSD interface rather than the undocumented one.  I didn't realize
that the test would work just as well with <getopt.h>, but if
it makes no difference in practice, then it's a bit better
to stick to the documented interface.



reply via email to

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