Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ttrdc.UUCP Path: utzoo!watmath!clyde!cbosgd!ulysses!mhuxr!mhuxn!ihnp4!cuae2!ltuxa!ttrdc!levy From: levy@ttrdc.UUCP (Daniel R. Levy) Newsgroups: net.bugs,net.news.b Subject: Re: 2.10.3 unbatch bug and fix Message-ID: <805@ttrdc.UUCP> Date: Fri, 21-Mar-86 13:25:08 EST Article-I.D.: ttrdc.805 Posted: Fri Mar 21 13:25:08 1986 Date-Received: Sat, 22-Mar-86 22:44:41 EST References: <243@micropro.UUCP> <9980@ucla-cs.ARPA> Organization: AT&T, Computer Systems Division, Skokie, IL Lines: 34 Xref: watmath net.bugs:760 net.news.b:1329 In article <9980@ucla-cs.ARPA>, ekrell@ucla-cs.UUCP writes: >In article <243@micropro.UUCP> news@micropro.UUCP (USENET administrator) writes: >>< while (strncmp(buf, "#! rnews ", 9) >>< || strncmp(buf, "! rnews ", 8)) { /* kludge for bug */ >>--- >>> while (!strncmp(buf, "#! rnews ", 9) >>> && !strncmp(buf, "! rnews ", 8)) { /* kludge for bug */ > >Aren't these two the same by De Morgan's law? >-- > Eduardo Krell UCLA Computer Science Department int A,B; (A || B) == !(!A && !B); /* sez demorgans law */ A 0 1 0 1 \_____ \_____ B 0|0|1| 0|1|0| ----- == ! ----- (Karnaugh map representation) 1|1|1| 1|0|0| ----- ----- -- ------------------------------- Disclaimer: The views contained herein are | dan levy | yvel nad | my own and are not at all those of my em- | an engihacker @ | ployer or the administrator of any computer | at&t computer systems division | upon which I may hack. | skokie, illinois | -------------------------------- Path: ..!{akgua,homxb,ihnp4,ltuxa,mvuxa, vax135}!ttrdc!levy