Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/stdio use "tempnam" instead of "tmpname"
details: https://anonhg.NetBSD.org/src/rev/8adbc49ed39d
branches: trunk
changeset: 582137:8adbc49ed39d
user: lukem <lukem%NetBSD.org@localhost>
date: Sat Jun 18 10:50:25 2005 +0000
description:
use "tempnam" instead of "tmpname"
diffstat:
lib/libc/stdio/tmpnam.3 | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r cee4450b9214 -r 8adbc49ed39d lib/libc/stdio/tmpnam.3
--- a/lib/libc/stdio/tmpnam.3 Sat Jun 18 10:43:47 2005 +0000
+++ b/lib/libc/stdio/tmpnam.3 Sat Jun 18 10:50:25 2005 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: tmpnam.3,v 1.14 2003/08/07 16:43:33 agc Exp $
+.\" $NetBSD: tmpnam.3,v 1.15 2005/06/18 10:50:25 lukem Exp $
.\"
.\" Copyright (c) 1988, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -33,7 +33,7 @@
.\"
.\" @(#)tmpnam.3 8.2 (Berkeley) 11/17/93
.\"
-.Dd August 11, 2002
+.Dd June 18, 2005
.Dt TMPFILE 3
.Os
.Sh NAME
@@ -200,7 +200,7 @@
First, there is an obvious race between file name selection and file
creation and deletion: the program is typically written to call
.Fn tmpnam ,
-.Fn tmpname ,
+.Fn tempnam ,
or
.Xr mktemp 3 .
Subsequently, the program calls
Home |
Main Index |
Thread Index |
Old Index