From owner-cvs-sbin Sat May 10 13:33:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA20340 for cvs-sbin-outgoing; Sat, 10 May 1997 13:33:46 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA20333; Sat, 10 May 1997 13:33:36 -0700 (PDT) Received: from awfulhak.demon.co.uk (localhost.lan.awfulhak.org [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id VAA07543; Sat, 10 May 1997 21:33:18 +0100 (BST) Message-Id: <199705102033.VAA07543@awfulhak.demon.co.uk> X-Mailer: exmh version 1.6.9 8/22/96 To: Doug Rabson cc: Chuck Robey , Peter Wemm , 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 In-reply-to: Your message of "Sat, 10 May 1997 18:49:08 BST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 10 May 1997 21:33:18 +0100 From: Brian Somers Sender: owner-cvs-sbin@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > 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? Wow ! It's years since I've played boulderdash ! > -- > Doug Rabson Mail: dfr@nlsystems.com > Nonlinear Systems Ltd. Phone: +44 181 951 1891 > > -- Brian , Don't _EVER_ lose your sense of humour....