Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 30 Sep 2012 16:28:19 -0400
From: Rich Felker <dalias@...ifal.cx>
To: musl@...ts.openwall.com
Subject: Re: better compatibility with bsd getopt()

On Sun, Sep 30, 2012 at 10:30:56PM +0200, Daniel Cegiełka wrote:
> http://www.openbsd.org/cgi-bin/man.cgi?query=getopt&sektion=3

As submitted, this patch makes it nonconforming; optreset is a name
reserved for use by the application. It might can be fixed with weak
symbols, but isn't there another fairly standard way to reset parsing
(setting optind to 0 or something)? Also, I think some other vars need
to be reset in this case...

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.