[Top][All Lists]

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

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

From: Sergey Poznyakoff
Subject: ping/ping6 (was Re: [bug-inetutils] Re: argp status)
Date: Sun, 28 Jun 2009 14:14:32 +0300

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.


reply via email to

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