bug-gnulib
[Top][All Lists]
Advanced

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

[Bug-gnulib] Re: [PATCH] getopt, argp - reentrant getopt interface, argp


From: Ulrich Drepper
Subject: [Bug-gnulib] Re: [PATCH] getopt, argp - reentrant getopt interface, argp fixes
Date: Wed, 03 Mar 2004 14:48:21 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040302

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Roland McGrath wrote:

> argp is not only used for command-line arguments.  It is used to parse
> options given by client requests at run time.

Then the interface is misused this way.  getopt explicitly is not thread
safe in POSIX because of its restricted use.

- -- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFARmC12ijCOnn/RHQRAvY7AJ0V7S7xP47hcyb2QxfFI/vvyM8f5ACgjMSg
/57bBAKPkTEdHZ6ghSj5wk4=
=YqOL
-----END PGP SIGNATURE-----




reply via email to

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