This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: [mukesh_gupta@mil.emc.com] libc/1413: Incompatibility b/w getopt() with '+' as the first character in the optstring and getopt() without '+' as the first character in optstring....
- To: mukesh_gupta at mil dot emc dot com
- Subject: Re: [mukesh_gupta@mil.emc.com] libc/1413: Incompatibility b/w getopt() with '+' as the first character in the optstring and getopt() without '+' as the first character in optstring....
- From: Ulrich Drepper <drepper at cygnus dot com>
- Date: 29 Dec 1999 12:11:08 -0800
- Cc: libc-alpha Mailinglist <libc-alpha at sourceware dot cygnus dot com>
- References: <u8g0wlcy7u.fsf@gromit.rhein-neckar.de>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
Andreas Jaeger <aj@suse.de> writes:
> Do we support this kind of usage at all? '+' should be given always -
> or never. What do you think?
This use if completely bogus. getopt() has to be called with the same
parameter list for all calls.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------