Return to BSD News archive
Newsgroups: comp.os.386bsd.questions Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!uunet!psinntp!uuneo!sugar!peter From: peter@NeoSoft.com (Peter da Silva) Subject: Re: Using gets() [ Was Re: nn ] Organization: NeoSoft Communications Services -- (713) 684-5900 Date: Tue, 27 Jul 1993 22:24:57 GMT Message-ID: <CAuGxM.ArM@sugar.NeoSoft.COM> References: <22u6tmINN2t6@xs4all.hacktic.nl> <CAsEpH.55o@sugar.NeoSoft.COM> <233748$qa8@agate.berkeley.edu> Lines: 13 In article <233748$qa8@agate.berkeley.edu> bostic@toe.CS.Berkeley.EDU (Keith Bostic) writes: > I agree in principle, but it isn't possible. ANSI C requires the > gets() function in the C library, so requiring the user to specify > that they wish to use it explicitly at compile time isn't possible. Sure it is. ANSI doesn't specify the command line required to get a fully ANSI environment, so you can just say "if you want a REAL ANSI environment with all the ANSI bugs, specify "-D__OBSOLETE__ -lobsolete"". -- Peter da Silva. <peter@sugar.neosoft.com>. `-_-' Hefur thu fadhmadh ulfinn i dag? 'U` "Det er min ledsager, det er ikke drikkepenge."