From owner-cvs-all Wed Oct 21 09:09:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA04716 for cvs-all-outgoing; Wed, 21 Oct 1998 09:09:31 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from apollo.backplane.com (apollo.backplane.com [209.157.86.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA04710; Wed, 21 Oct 1998 09:09:30 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.1/8.9.1) id JAA06244; Wed, 21 Oct 1998 09:08:56 -0700 (PDT) (envelope-from dillon) Date: Wed, 21 Oct 1998 09:08:56 -0700 (PDT) From: Matthew Dillon Message-Id: <199810211608.JAA06244@apollo.backplane.com> To: dag-erli@ifi.uio.no (Dag-Erling C. =?iso-8859-1?Q?Sm=F8rgrav?= ) Cc: Peter Wemm , Bruce Evans , cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libc/stdio mktemp.c References: <199810210245.KAA14596@spinner.netplex.com.au> <199810210437.VAA01979@apollo.backplane.com> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk :Matthew Dillon writes: :> I could go either way. My personal preference would be to fix the manual :> page to read 'mode 0600 masked by the current umask' and *not* put in the :> fchmod(), because I can certainly see a program expecting to create a :> file with read-only permissions by setting the umask and calling :> mkstemp() to get the read+write descriptor. It would be phenominally dumb :> programmer to depend on it, but I can see it. : :So we should adapt FreeBSD to be nice to phenomenally dumb :programmers? I feel a rerun of the fclose(NULL) debate coming... : :DES Huh? That's kind of an out-of-the-blue comment. I have no idea what you are talking about. -Matt :-- :Dag-Erling Smørgrav - dag-erli@ifi.uio.no : : Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet Communications & God knows what else. (Please include original email in any response) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message