[PATCH] getopt,argp - reentrant getopt interface, argp fixes
Ulrich Drepper
drepper@redhat.com
Wed Mar 3 22:43:00 GMT 2004
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 â
More information about the Libc-alpha
mailing list