This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] getopt,argp - reentrant getopt interface, argp fixes
- From: Ulrich Drepper <drepper at redhat dot com>
- To: Marcus Brinkmann <marcus dot brinkmann at ruhr-uni-bochum dot de>
- Cc: libc-alpha at sources dot redhat dot com, bug-gnulib at gnu dot org
- Date: Wed, 03 Mar 2004 14:43:19 -0800
- Subject: Re: [PATCH] getopt,argp - reentrant getopt interface, argp fixes
- Organization: Red Hat, Inc.
- References: <87oerd3669.wl@ulysses.g10code.de>
Marcus Brinkmann wrote:
> 1. Add new reentrant interfaces for getopt (getopt_r, getopt_long_r,
> getopt_long_only_r) and supporting data type (struct getopt_data)
> and macro (GETOPT_DATA_INITIALIZER).
No, this is ridiculous. If a program takes command line options parse
them before creating threads or do it always only from one thread. This
is overkill at the most ludicrous level.
--
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â