Mail Archives: cygwin/2003/01/31/15:47:28
Christopher Faylor wrote:
> On Mon, Jan 20, 2003 at 08:59:35PM -0000, Max Bowsher wrote:
>> Christopher Faylor wrote:
>>> I don't think it is that simple. Cygwin doesn't use the getopt that
>>> comes with newlib.
>>
>> Ah. Just because I'm curious, why?
>>
>>> Is there supposed to be any correspondence between
>>> the getopt version and the getsubopt version?
>>
>> I've just looked at newlib's getsubopt.c. It is completely
>> independent of getopt, and in fact, has only been in newlib since
>> 1.11.0.
>> So, unless I've overlooked something, it *is* just a matter of
>> cygwin.din/version.h.
>
> Ok, then. Thanks for checking. Getting ready to gratefully accept a
> patch.
Just got round to looking at doing this. It uses a variable in the library,
extern'ed in the application, like getopt's optarg - i.e. problem.
Since I'm not directly interested in this function, I'm not going to take
this further. Just wanted the archives to have all the info.
Max.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -