bug-inetutils
[Top][All Lists]
Advanced

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

[bug-inetutils] Re: Patches for submission -- traceroute


From: Alfred M. Szmidt
Subject: [bug-inetutils] Re: Patches for submission -- traceroute
Date: Wed, 23 May 2007 13:43:48 +0200 (CEST)

Commited.

2007-05-23  Debarshi Ray  <address@hidden>

        * traceroute/Makefile.am (INCLUDES): Added
        -I$(top_srcdir)/libinetutils.

        * traceroute/traceroute.c: Don't include <getopt.h>.  Include
        <argp.h> and "libinetutils.h".  Use error() instead of "output
        message; exit;" concoction's.
        (show_usage): Function removed.
        (program_name): Variable removed.
        (host): New variable.
        (OPT_VERSION, OPT_HELP, OPT_RESOLVE_HOSTNAMES): Macros removed.
        (shor_options, option long_options): Variable removed.
        (ARGP_PROGRAM_DATA): Call macro.
        (args_doc, doc): New variables.
        (OPT_RESOLVE): New enum.
        (argp_options): New variable.
        (parse_opt): New function.
        (main) Use argp to parse program options.




reply via email to

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