From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc89c,1d575c4dd281f2ce X-Google-Attributes: gidfc89c,public X-Google-Thread: 10650a,1d575c4dd281f2ce X-Google-Attributes: gid10650a,public X-Google-Thread: f72b0,1d575c4dd281f2ce X-Google-Attributes: gidf72b0,public X-Google-Thread: fe1d2,1d575c4dd281f2ce X-Google-Attributes: gidfe1d2,public X-Google-Thread: f678f,1d575c4dd281f2ce X-Google-Attributes: gidf678f,public X-Google-Thread: 11035d,1d575c4dd281f2ce X-Google-Attributes: gid11035d,public X-Google-Thread: 115614,1d575c4dd281f2ce X-Google-Attributes: gid115614,public X-Google-Thread: fa705,5ad0b4045cb048 X-Google-Attributes: gidfa705,public From: Mark Whetzel Subject: Re: Cheers!, another 100 milions seconds since UNIX epoch :-) Date: 1998/08/06 Message-ID: <6qavd6$2s7q$2@mail1.wg.waii.com>#1/1 X-Deja-AN: 378358272 Distribution: inet Content-Transfer-Encoding: 8bit References: <01bdab61$c1676c80$8e6155c1@rts95> <6oj4v0$gfu@web.nmti.com> <6ok8gc$1p0$1@vishnu.jussieu.fr> <6padts$i6h@web.nmti.com> <35b9c233.9371438@nntpd.databasix.com> <901632495snz@genesis.demon.co.uk> <35C0822C.EFB17B1@freemail.c3.hu> <6q7uc6$2mrm$1@mail1.wg.waii.com> <35C7A4C5.F63526AD@agd.nsw.gov.au_hormel_free> Content-Type: text/plain; charset=US-ASCII Organization: Western Geophysical, Div. of Western Atlas Int'l, Houston, TX Mime-Version: 1.0 Newsgroups: comp.unix.aix,comp.unix.bsd.misc,comp.unix.internals,comp.unix.misc,comp.unix.osf.misc,comp.unix.programmer,comp.unix.sco.misc,comp.unix.solaris In comp.unix.aix Anthony Mandic 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