Date: Wed, 25 Sep 1996 15:57:47 -0700 (PDT) From: Gary Kline <kline@tera.com> To: rwm@MPGN.COM (Rob Miracle) Cc: freebsd-questions@freebsd.org Subject: Re: "Gets unsafe" message Message-ID: <199609252257.PAA18311@athena.tera.com> In-Reply-To: <3.0b24.32.19960925135728.006857c4@central.TanSoft.COM> from Rob Miracle at "Sep 25, 96 01:57:29 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
According to Rob Miracle: > First, I know that gets is inherently unsafe so .... > > Is there away to prevent programs that call gets() to not print out the > message > about it being unsafe? > > I don't mind the compliler telling me, but for the library routine to is > not very nice. There is a lot of code that uses gets() and uses it in a > fashion that 99.99% of the time is ok. > Since you've got the code, why not axe the write() in gets.c and rebuild libc? gary kline
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609252257.PAA18311>