Date: Sat, 10 May 1997 18:49:08 +0100 (BST) From: Doug Rabson <dfr@nlsystems.com> To: Chuck Robey <chuckr@mat.net> Cc: Peter Wemm <peter@FreeBSD.ORG>, CVS-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sbin@FreeBSD.ORG Subject: Re: cvs commit: src/sbin/ifconfig ifconfig.c ifconfig.h ifmedia.c Message-ID: <Pine.BSF.3.95q.970510184606.292I-100000@herring.nlsystems.com> In-Reply-To: <Pine.BSF.3.91.970510133854.131A-100000@Journey2.mat.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 10 May 1997, Chuck Robey wrote: > On Sat, 10 May 1997, Doug Rabson wrote: > > > On Sat, 10 May 1997, Peter Wemm wrote: > > > > > peter 97/05/10 10:14:54 > > > > > > Modified: sbin/ifconfig ifconfig.c ifconfig.h ifmedia.c > > > Log: > > > Clean up some more. Move parsing of sysctl iflist data into a single > > > place rather than updating the main loop's index variables from within > > > a subroutine and other revolting things like that. Move some more > > > globals into local variables. > > > > I once tried to fix some bugs in a program which had three global > > variables, i, j and k. It used these all over the place for loop > > variables and often changed them in subroutines. It was 'fun' trying to > > figure out the control flow... > > Wasn't that called "Basic" or something? :-) It was C pretending to be Basic. The program was some kind of Boulderdash clone for X, called xbd as I remember. Does anyone know if it still exists? -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970510184606.292I-100000>