help-gengetopt
[Top][All Lists]
Advanced

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

Re: [help-gengetopt] make cmd_line_list and cmd_line_list_tmp static?


From: Andre Noll
Subject: Re: [help-gengetopt] make cmd_line_list and cmd_line_list_tmp static?
Date: Sun, 25 Jun 2006 17:38:12 +0200
User-agent: Mutt/1.5.9i

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

Attachment: signature.asc
Description: Digital signature


reply via email to

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