Date: Sun, 30 Sep 2012 23:02:26 +0200 From: John Spencer <maillist-musl@...fooze.de> To: musl@...ts.openwall.com Subject: Re: better compatibility with bsd getopt() On 09/30/2012 10:30 PM, Daniel Cegiełka wrote: > http://www.openbsd.org/cgi-bin/man.cgi?query=getopt&sektion=3 > > regards, > Daniel an application that relies on non-posix getopt behaviour should come with a configure check and use an alternate impl if the getopt detected is not compatible. almost any program does so already, but for those that don't (like iptables) you can use https://github.com/rofl0r/gnu-getopt (tarball available on sabotage mirror, or in downloads section of the page). this bundles the netbsd getopt into a standalone library that can easily be linked to programs.
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.