[Top][All Lists]

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

Re: [bug-inetutils] route

From: Debarshi Ray
Subject: Re: [bug-inetutils] route
Date: Fri, 5 Sep 2008 18:45:19 +0530

> ifconfig does not do something similar, system/*.c is for output
> generation and argument parsing; this cannot be tested using features.

Don't mislead people. I never disagreed on the testing for features
part. I disagree on the idea of combining everything in one file. I
disagree on the idea of #ifdefing large blocks of code which will
never be common.

> Depending on which operating system you use, ifconfig will print
> things differently, on solaris it will print differnet output than on
> GNU/Linux or HUPX.

Taking your analogy, ifconfig would have had all that formatting code
in one file separated by #ifdefs.

Happy hacking,

reply via email to

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