bug-inetutils
[Top][All Lists]
Advanced

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

Re: [bug-inetutils] Argpfying syslogd


From: Debarshi Ray
Subject: Re: [bug-inetutils] Argpfying syslogd
Date: Wed, 16 Apr 2008 15:46:32 +0530

Here is the ChangeLog:

2008-04-16  Debarshi Ray <address@hidden>

        * syslogd/syslogd.c: Include <argp.h>, and <error.h>.  Remove
        include for <getopt.h>.
        (program_name): Variable removed.
        (ARGP_PROGRAM_DATA): Call macro.
        (args_doc, doc): New variables.
        (usage): Function removed.
        (OPT_NO_FORWARD, OPT_NO_KLOG, OPT_NO_UNIXAF, OPT_PIDFILE): New enums.
        (argp_options): New variable.
        (short_options, long_options): Variables removed.
        (parse_opt): New function.
        (argp): New variable.
        (main): Removed variable OPTION. Use argp to parse program options.
        Use error instead of "output message; exit;" concoction's.
        (add_funix): Use error instead of "output message; exit;"
        concoction's.
        (crunch_list): Use error instead of "output message; exit;"
        concoction's.
        (die): Use program_invocation_name instead of program_name.

Going to commit it now.

Happy hacking,
Debarshi
-- 
"From what we get, we can make a living; what we give, however, makes a life."
    -- Arthur Ashe




reply via email to

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