Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: Mark Whetzel <markw@hocr2n19.wg.waii.com>
Subject: Re: Cheers!,  another 100 milions seconds since UNIX epoch :-)
Date: 1998/08/06	[thread overview]
Message-ID: <6qavd6$2s7q$2@mail1.wg.waii.com> (raw)
In-Reply-To: 35C7A4C5.F63526AD@agd.nsw.gov.au_hormel_free

In comp.unix.aix Anthony Mandic <no.sp_am@agd.nsw.gov.au_hormel_free> wrote:
> Mark Whetzel wrote:
> > > : Check your code! You are still defensless!!! :-)
> > > : *        if (status = UNDER_NUCLEAR_ATTACK)                       *
> > > :                      ^^^^^
> > > : *               launch_full_counterstrike();                      *
> > 
> > It could have been worse, it could have read:
> > 
> >    while (status = UNDER_NUCLEAR_ATTACK) {
> >      launch_full_counterstrike();
> >    }

> 	And if any of you turkeys can get a clue you'd realise your
> 	code is wrong. You aren't doing a compare but an assign.

As my daughter would say:  DUH!  That *IS* the point.

One simple missing pattern of 8 bits (unless DBCS is in use or 
baudot [5 bits] :-) is missing and all heck breaks loose (or doesn't 
depending on the value of 'UNDER_NUCLEAR_ATTACK').

:-) :-)  ;-)

My change just makes counterstrike possibly ALL the time. :-)

-- 
Mark Whetzel     My comments are my own, not my company's.
Western Geophysical - A division of Western Atlas International Inc.,
A Subsidiary of Western Atlas Inc.  addr: mark.whetzel@waii.com
VOICE: (713) 689-2544              FAX: (713) 689-2758



  parent reply	other threads:[~1998-08-06  4:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <01bdab61$c1676c80$8e6155c1@rts95>
     [not found] ` <35AA8001.4A7C613C@waffle.blah.nu>
     [not found]   ` <6oj4v0$gfu@web.nmti.com>
     [not found]     ` <6ok8gc$1p0$1@vishnu.jussieu.fr>
     [not found]       ` <Ew70zz.8pG@bilver.magicnet.netREMOVETHIS>
     [not found]         ` <EwL0MI.Exu@bc3.gun.de>
     [not found]           ` <6padts$i6h@web.nmti.com>
     [not found]             ` <35b9c233.9371438@nntpd.databasix.com>
     [not found]               ` <EwMnCD.HLC@bilver.magicnet.netREMOVETHIS>
     [not found]                 ` <901632495snz@genesis.demon.co.uk>
     [not found]                   ` <Ewv2n8.GJq@ukb.novell.com>
     [not found]                     ` <35C0822C.EFB17B1@freemail.c3.hu>
     [not found]                       ` <Ex4q3K.J1q@ukb.novell.com>
1998-08-04  4:00                         ` Cheers!, another 100 milions seconds since UNIX epoch :-) Mark Whetzel
1998-08-05  4:00                           ` Anthony Mandic
1998-08-05  4:00                             ` Brent Elphick
1998-08-05  4:00                             ` gateley
1998-08-06  4:00                             ` Mark Whetzel [this message]
1998-08-11  4:00                             ` Ury Segal
1998-08-07  4:00                           `  A Myles
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox