Path: utzoo!utgpu!watmath!att!dptg!rutgers!mailrus!purdue!ames!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: "do ... while ((NULL + 1) - 1);" -- valid C? Message-ID: <10692@smoke.BRL.MIL> Date: 9 Aug 89 20:39:32 GMT References: <1043@levels.sait.edu.au> <961@virtech.UUCP> <10684@smoke.BRL.MIL> <696@ftp.COM> <10691@smoke.BRL.MIL> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 12 In article <10691@smoke.BRL.MIL> gwyn@brl.arpa (Doug Gwyn) writes: >strchr() does not return a preprocessor macro; it returns a null macro That was supposed to say: strchr() does not return a preprocessor macro; it returns a null pointer ... Our stupid news system software wouldn't let me cancel the article so that I could send a corrected version. I hope that this slip-up didn't cause anybody too much confusion. strchr(/*...*/)+1 is WRONG when strchr() returns a null pointer.