> 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,
Debarshi


_______________________________________________
bug-inetutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-inetutils

Reply via email to