Module Name: src
Committed By: martin
Date: Thu Dec 4 07:42:19 UTC 2014
Modified Files:
src/usr.bin/mktemp [netbsd-7]: mktemp.1
Log Message:
Pull up following revision(s) (requested by snj in ticket #292):
usr.bin/mktemp/mktemp.1: revision 1.22
minor wording nits and a typo fix
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.21.8.1 src/usr.bin/mktemp/mktemp.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/mktemp/mktemp.1
diff -u src/usr.bin/mktemp/mktemp.1:1.21 src/usr.bin/mktemp/mktemp.1:1.21.8.1
--- src/usr.bin/mktemp/mktemp.1:1.21 Sun Nov 4 10:10:03 2012
+++ src/usr.bin/mktemp/mktemp.1 Thu Dec 4 07:42:19 2014
@@ -1,4 +1,4 @@
-.\" $NetBSD: mktemp.1,v 1.21 2012/11/04 10:10:03 apb Exp $
+.\" $NetBSD: mktemp.1,v 1.21.8.1 2014/12/04 07:42:19 martin Exp $
.\" From: $FreeBSD: src/usr.bin/mktemp/mktemp.1,v 1.5 1999/08/28 01:04:13 peter Exp $
.\" From: $OpenBSD: mktemp.1,v 1.8 1998/03/19 06:13:37 millert Exp $
.\"
@@ -203,12 +203,12 @@ allows an attacker to subvert the progra
creating a different file, directory, or symbolic link
under the same name.
A safer, though still inferior, approach
-is to make a temporary directory using the same naming schem
+is to make a temporary directory using the same naming scheme
While this does allow one to guarantee that a temporary file will
not be subverted, it still allows a simple denial of service attack.
For these reasons it is recommended that
.Nm
-should be used instead of simpler schemes.
+be used instead of simpler schemes.
.Pp
Care should be taken to ensure that it is appropriate to use an
environment variable potentially supplied by the user.
@@ -252,7 +252,7 @@ The
.Nm
utility appeared in
.Nx 1.5 .
-It has been imported from
+It was imported from
.Fx ,
-the idea and the manual page were taken from
+and the idea and the manual page were taken from
.Ox .