Newsgroups: comp.lang.c
Path: utzoo!henry
From: henry@utzoo.uucp (Henry Spencer)
Subject: Re: retiring gets(3)
Message-ID: <1988Nov13.005314.22925@utzoo.uucp>
Organization: U of Toronto Zoology
References: <1988Nov8.054845.23998@utstat.uucp> <8841@smoke.BRL.MIL> <2566@ihlpm.ATT.COM>
Date: Sun, 13 Nov 88 00:53:14 GMT

In article <2566@ihlpm.ATT.COM> snafu@ihlpm.ATT.COM (00704a-Wallis) writes:
>... What's to prevent the following (and
>how is it different from gets?):
>	fgets( some_string, 2147483647, stdin );

Programmers with IQs larger than their waistlines?

Nobody can protect against stupid programmers.  But gets doesn't even give
you a chance to be smart.
-- 
Sendmail is a bug,             |     Henry Spencer at U of Toronto Zoology
not a feature.                 | uunet!attcan!utzoo!henry henry@zoo.toronto.edu
