Article View: comp.std.c
Article #3703Re: gets() and getchar
From: J. Kanze
Date: Fri, 11 Aug 1995 14:46
Date: Fri, 11 Aug 1995 14:46
18 lines
1225 bytes
1225 bytes
Zefram (A.Main@dcs.warwick.ac.uk) wrote:
|> <halasz@caip.rutgers.edu> wrote:
Actually, he didn't, I did.
|> >- -Dgets='DONT_USE_GETS!'
|> That's a disgusting hack. It might well make the compiler unusable if
|> an included header includes a prototype for gets(), even if it's not
|> actually called.
Agreed. I didn't think about all of the consequences. (I never use
gets myself, and I don't need this sort of hack to avoid it.)
--
James Kanze (+33) 88 14 49 00 email: kanze@gabi-soft.fr
GABI Software, Sarl., 8 rue des Francs Bourgeois, 67000 Strasbourg, France
Conseils en informatique industrielle--
--Beratung in industrieller Datenverarbeitung
Technical Details
Message-ID:
<40fqgd$2ej@gabi.gabi-soft.fr>Path:
arc1-ca.pugleaf.net!gabi-soft.fr!not-for-mailReferences:
<Pine.ULT.3.91.950807194041.19202A-100000@mars> <KANZE.95Aug9103309@slsvhdt.lts.sel.alcatel.de> <40bqih$bft@caip.rutgers.edu> <1995Aug11.002333.20047@dcs.warwick.ac.uk>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!gabi-soft.fr!not-for-mail From: kanze@gabi-soft.fr (J. Kanze) Newsgroups: comp.std.c Subject: Re: gets() and getchar Date: 11 Aug 1995 16:46:37 +0200 Organization: GABI Software, Sarl. Message-ID: <40fqgd$2ej@gabi.gabi-soft.fr> References: <Pine.ULT.3.91.950807194041.19202A-100000@mars> <KANZE.95Aug9103309@slsvhdt.lts.sel.alcatel.de> <40bqih$bft@caip.rutgers.edu> <1995Aug11.002333.20047@dcs.warwick.ac.uk> NNTP-Posting-Host: gabi.gabi-soft.fr X-Newsreader: TIN [version 1.2 PL2]