From owner-freebsd-questions Mon Oct 2 11:52:01 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA14928 for questions-outgoing; Mon, 2 Oct 1995 11:52:01 -0700 Received: from aslan.cdrom.com (aslan.cdrom.com [192.216.223.142]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA14921 for ; Mon, 2 Oct 1995 11:52:00 -0700 Received: from localhost.cdrom.com (localhost.cdrom.com [127.0.0.1]) by aslan.cdrom.com (8.6.12/8.6.9) with SMTP id LAA06268; Mon, 2 Oct 1995 11:48:56 -0700 Message-Id: <199510021848.LAA06268@aslan.cdrom.com> X-Authentication-Warning: aslan.cdrom.com: Host localhost.cdrom.com didn't use HELO protocol To: olsenc@ichips.intel.com cc: questions@freebsd.org Subject: Re: If not gets(), then what? In-reply-to: Your message of "Mon, 02 Oct 1995 11:14:13 PDT." <9510021814.AA35311@dtt034.intel.com> Date: Mon, 02 Oct 1995 11:48:56 -0700 From: "Justin T. Gibbs" Sender: owner-questions@freebsd.org Precedence: bulk >Hello: > >I have a program that uses gets(), and FreeBSD complains about it. >I read the manpage on gets(), and it says it's dangerous, but yet >it doesn't mention any alternatives! > >Suggestions, recommendations, testimonials, confessions? Use fgets(). >Btw, FreeBSD 2.0.5 RELEASE is rock solid. Very nice job, you guys! >It was nice to finally get rid of Linux. :-) > >Thanks, > >-Clint -- Justin T. Gibbs =========================================== Software Developer - Walnut Creek CDROM FreeBSD: Turning PCs into workstations ===========================================