bug-inetutils
[Top][All Lists]
Advanced

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

Re: ping/ping6 (was Re: [bug-inetutils] Re: argp status)


From: Alfred M. Szmidt
Subject: Re: ping/ping6 (was Re: [bug-inetutils] Re: argp status)
Date: Sun, 28 Jun 2009 14:39:25 -0400

   Alfred M. Szmidt <address@hidden> ha escrit:

   > I see why not, but I would not like to see a change in behaviour if
   > the program is called ping6 or ping.

   Sure, that would contradict GNU standards.

   > Maybe we could do something like for dir/vdir/ls?  Have
   > 
   > #ifdef IS_IPv6
   > ...
   > #else /* IS_IPv4 */
   > ...
   > #endif
   > 
   > cruft scattered around?

   Oh, no.  That would make the code hard to maintain.  I am going to place all
   IPv6 stuff into separate compilation unit(s), and to provide wrapper
   functions for calling it from the main module.

Sounds sensible.




reply via email to

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