From owner-freebsd-questions Wed Sep 25 16:06:48 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA25413 for questions-outgoing; Wed, 25 Sep 1996 16:06:48 -0700 (PDT) Received: from glacier.cold.org (glacier.cold.org [206.81.134.54]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id QAA25351 for ; Wed, 25 Sep 1996 16:06:38 -0700 (PDT) Received: from localhost (brandon@localhost) by glacier.cold.org (8.7.5/8.7.3) with SMTP id RAA24305 for ; Wed, 25 Sep 1996 17:10:24 -0600 (MDT) Date: Wed, 25 Sep 1996 17:10:24 -0600 (MDT) From: Brandon Gillespie To: freebsd-questions@freebsd.org Subject: Re: "Gets unsafe" message In-Reply-To: <3.0b24.32.19960925135728.006857c4@central.TanSoft.COM> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I don't mind the compliler telling me, but for the library routine to is > not very nice. There is a lot of code that uses gets() and uses it in a > fashion that 99.99% of the time is ok. No, it is never ok. Use fgets(). -Brandon Gillespie