[syslog-ng] bugreport for 1.9.5 on solaris [PATCH]

Felipe Kellermann stdfk at terra.com.br
Thu Oct 13 07:07:30 CEST 2005


On Mon, 10 Oct 2005 12:18pm  +0200, Roberto Nibali wrote:

> 2. Use the glibc internally provided command line parser called argp
>    which superseeds getopt. More information and documentation can be
>    found in the glibc manual:
> 
> http://www.gnu.org/software/libc/manual/html_node/Argp.html#Argp
> 
> It's a sexy interface ;), so I'm in favour of option 2. Should be
> portable, never tested it though. YMMV.

I'd like to suggest the 'getopt' module of gnulib. The code is exactly 
the same as glibc's version and there is the added funcionality of the 
macros and headers for the autotools settings.

-- 
Felipe Kellermann


More information about the syslog-ng mailing list