On Sat, Aug 23, 2008 at 2:22 AM, Alfred M. Szmidt <[EMAIL PROTECTED]> wrote: > Going by Sergey's advice on another thread, I tried to reduce the > number of globals used in hostname. Here is an initial patch. > > I am neither for or against this, reducing the number of globals is > all good and well, but for a small program (like most of our programs) > it makes little sense to me. So I really don't care much, feel free > to do what you consider best.
Reducing globals lets us consider turning most of this into a library at some point with a lower risk of namespace conflicts, and such. Not necessarily an explicit goal at the moment, but certainly not a bad thing to hack on. Ofcourse, but in this case it was just variables for options, I wouldn't want to keep those in a library... _______________________________________________ bug-inetutils mailing list bug-inetutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-inetutils