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
signature.asc
Description: Digital signature
_______________________________________________ Help-gengetopt mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gengetopt
