Xref: utzoo comp.bugs.4bsd:1750 comp.std.c:4272 comp.lang.c:35925 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!caen!ox.com!umich!sharkey!amara!mcdaniel From: mcdaniel@adi.com (Tim McDaniel) Newsgroups: comp.bugs.4bsd,comp.std.c,comp.lang.c Subject: Re: Safe coding practices (was Re: Bug in users command) Message-ID: Date: 7 Feb 91 22:59:08 GMT References: <9k9G!#9a@cs.psu.edu> <27A6EBDB.2F16@tct.uucp> <1991Feb03.181937.9090@convex.com> <1991Feb6.170055.2081@druid.uucp> <9644@dog.ee.lbl.gov> Sender: news@adi.COM Followup-To: comp.bugs.4bsd Organization: Applied Dynamics International, Inc.; Ann Arbor, Michigan, USA Lines: 25 In-reply-to: torek@h2opolo.ee.lbl.gov's message of 7 Feb 91 09:48:29 GMT torek@h2opolo.ee.lbl.gov (who CALLS himself Chris Torek) writes: int fgetline(FILE *stream, int *len); ... while ((p = fgetline(inf)) != NULL) Notice the "int" return code and the argument count problem. Chris Torek making TWO errors in a SINGLE posting (about a routine He designed and wrote) is patently impossible. torek@h2opolo.ee.lbl.gov is therefore NOT The REAL Chris Torek, but a shameless forger. It's obvious what happened. Someone saw Chris Torek's announcement that He was off the net temporarily and didn't know His future e-mail address. This person waited a plausible amount of time, and then posted this crude forgery. The "oops, bug in the man page" followup didn't fool me one little bit. I'm writing to the system administrators at ee.lbl.gov to get this dastardly imposter fired immediately, and (if possible) brought up on criminal charges. -- Tim McDaniel Applied Dynamics Int'l.; Ann Arbor, Michigan, USA Work phone: +1 313 973 1300 Home phone: +1 313 677 4386 Internet: mcdaniel@adi.com UUCP: {uunet,sharkey}!amara!mcdaniel