[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: argp spec
From: |
Niels Möller |
Subject: |
Re: argp spec |
Date: |
12 Sep 2002 07:29:54 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Miles Bader <address@hidden> writes:
> 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?
I more or less rewrote the parser, copying some code (basically, parts
of parser_parse_next, and the exchange function that is used to
permute arguments, iirc) from GNU getopt.
> [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]
I'm afraid there's no vendor tags in my cvs, you just have to compare
to revision 1.1 of the files, which should be the same code as in
glibc-2.1. So it's probably easiest to get the latest version, and
diff that to glibc-2.1.
Regards,
/Niels