Re: make cmd_line_list and cmd_line_list_tmp static?
Andre Noll <[email protected]>
| Newsgroups | gmane.comp.gnu.gengetopt.general |
|---|---|
| Message-ID | <[email protected]> |
Hi On 16:25, Lorenzo Bettini wrote: > I tried to fix the problem with another solution (the customized getopt > can still be inserted in the generated c source, by manually using > --include-getopt, which is still a good quick thing, in case your > program is destined for a system which does not provide getopt_long): > > 1. I switched back to optind = 0 (by few days I'll tell you more about > what the C library maintainers replied to my bug report) > 2. I added a check to see whether the program name is in the remaining > arguments and, if so, simply discards it, so that it does not end in the > inputs[] array). I'm fine with this version. para_audiod contains seven different command line parsers by now, and everything seems to work well with the latest gengetopt rc. Have fun Andre -- The only person who always got his work done by Friday was Robinson Crusoe _______________________________________________ Help-gengetopt mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gengetopt
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFEnq3kWto1QDEAkw8RAkAxAJ4xanr6LZyZy/sWQFKourixkW1stwCfbpBL 5mfTpBpe0DuwolW5W+NhU4A= =3gKB -----END PGP SIGNATURE-----