This is the mail archive of the libc-alpha@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: argp-parse.c: ARGP_PARSE_ARGV0 shouldn't be ignored


Roland McGrath <roland@marker.cs.utah.edu> writes:

> It is used in the Hurd in some places where a string of options comes from
> a different place (from runtime RPCs).  It uses argz_extract on a string
> and then passes the resultant vector to argp.  All these cases also use
> the ARGP_NO_ERRS flag.

OK, so the current code is ok and since the documentation states that
the option will not be used unless ARGP_NO_ERRS is also defined we
don't have to change the code.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]