Subject: Re: gets()
To: Jason R. Thorpe <>
From: Alan Barrett <>
List: current-users
Date: 03/10/1994 13:47:27
> warning: this program uses gets(), which is unsafe.
> Can you remove this from the disted source?  It's _REALLY_ annoying...

This implementation of gets() does not conform to the ANSI C standard, but
I think it is a good idea to warn folk aginst using gets.  A reasonable
compromise might be to retain this non-conforming implementation of gets()
in the normal library, and add an ANSI C conforming version (without the
warning message) to a special library.  Then the ducumentation that
explains how to invoke a conforming implementation of the C compiler would
have to mention linking against the special library. 

--apb (Alan Barrett)