bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: argp spec


From: Miles Bader
Subject: Re: argp spec
Date: 12 Sep 2002 13:54:15 +0900

address@hidden (Niels Möller) writes:
> This version have also been hacked so that it doesn't depend on
> getopt, and should thus be reentrant.

Really?  Cool!  I've wanted to do that for _years_, but never quite got
around to it.

Did you do a major rewrite of the parser, or put in a hacked version of
getopt_long that's reentrant?

[BTW, when I looked at your CVS tree a while back, one problem I had was
that there didn't seem to be any convenient CVS tags so that I could
easily find the base glibc version you started from (maybe I just missed
them), so trying to find a minimal set of changes was a bit hard]

Perhaps this is the time to do it for real, since a non-getopt-using
version would be easier to maintain, smaller (though I guess the main
bulk of argp is actually the help-printing code), and remove various odd
limitations (reentrancy being one; another is the inability to use
ARGP_PARSE_ARGV0 without also using ARGP_NO_ERRS).

Thanks,

-Miles
-- 
Fast, small, soon; pick any 2.




reply via email to

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