This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: BUG: getopt does not permute argv correctly


On May 29 14:50, Thomas Kindler wrote:
> Thanks for your quick answer!
> 
> The problem is, that permute_from and num_nonopts is forgotten between
> calls, if there is more than one option flag in an argv entry.
> 
> As a solution, I made those variables global, and added them to
> getopt_data (similar to the existing optwhere).

I'm not opposed to add this patch to newlib, but, did anybody
with a non-Cygwin system test it?


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]