Newsgroups: comp.lang.c Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: retiring gets(3) Message-ID: <1988Nov16.184238.16375@utzoo.uucp> Organization: U of Toronto Zoology References: <1988Nov14.220842.3980@utstat.uucp> <8902@smoke.BRL.MIL> Date: Wed, 16 Nov 88 18:42:38 GMT In article <8902@smoke.BRL.MIL> gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) writes: >... In fact they're wrong. I routinely use gets() in >an utterly safe manner... Well, "utterly safe" if you're always very careful that part A of your program preserves the length limits that part B is relying on. Personally I prefer slightly more robust programming, especially when there's no significant difference in convenience or efficiency. -- Sendmail is a bug, | Henry Spencer at U of Toronto Zoology not a feature. | uunet!attcan!utzoo!henry henry@zoo.toronto.edu