*BSD News Article 18871


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!menudo.uh.edu!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: Sun, 25 Jul 1993 13:13:13 GMT
Message-ID: <CAq222.8E4@sugar.NeoSoft.COM>
References: <OLEG.93Jul17185604@gd.cs.CSUFresno.EDU> <1993Jul19.005949.28286@oucsace.cs.ohiou.edu> <CAKu2r.10rt@austin.ibm.com>
Lines: 13

In article <CAKu2r.10rt@austin.ibm.com> boyd@pal411.austin.ibm.com writes:
> I will not debate whether the function is a good one or not.  However,
> since it is included for the sake of compatibility, I would argue that
> it should be distributed in a fashion that allows its use.

I agree. gets should work as documented, but it should probably be stuck
in an "obsolete" library, to be linked in as "-lobso" for programs that
use broken functions. Stick strtok in there as well :>.
-- 
Peter da Silva.  <peter@sugar.neosoft.com>.
 `-_-'   Hefur pu fadmad ulfinn i dag?
  'U`    
"Det er min ledsager, det er ikke drikkepenge."