From owner-cvs-lib Wed Mar 26 20:22:40 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA02615 for cvs-lib-outgoing; Wed, 26 Mar 1997 20:22:40 -0800 (PST) Received: from rover.village.org (rover.village.org [204.144.255.49]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id UAA02478; Wed, 26 Mar 1997 20:20:41 -0800 (PST) Received: from rover.village.org [127.0.0.1] by rover.village.org with esmtp (Exim 1.60 #1) id 0wA6fS-0006QQ-00; Wed, 26 Mar 1997 21:20:02 -0700 To: Bruce Evans Subject: Re: cvs commit: src/lib/libtermcap pathnames.h termcap.c Cc: peter@spinner.dialix.com, phk@critter.dk.tfs.com, ache@nagual.ru, cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-lib@freefall.freebsd.org, fenner@parc.xerox.com In-reply-to: Your message of "Thu, 27 Mar 1997 14:50:32 +1100." <199703270350.OAA06953@godzilla.zeta.org.au> References: <199703270350.OAA06953@godzilla.zeta.org.au> Date: Wed, 26 Mar 1997 21:20:02 -0700 From: Warner Losh Message-Id: Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In message <199703270350.OAA06953@godzilla.zeta.org.au> Bruce Evans writes: : You could also add warnings: : : warning: this program uses access(), which is unsafe. : : access() would be unsafer than now, since the effective fs uuid would be : more variable. : : And while we're here: : : warning: this program uses tmpfile(), which is unsafe. : warning: this program uses tmpnam(), which is unsafe. : warning: this program uses tempnam(), which is unsafe. : warning: this program uses mktemp(), which is unsafe. Funny you should mention that. I have that on my list. : warning: this program uses mkstemp(), which is yet another wrong : interface (it should allow setting the open mode). Can you explain this to me? Warner