Home | History | Annotate | only in /src/usr.bin/mktemp
History log of /src/usr.bin/mktemp
RevisionDateAuthorComments
 1.9 14-Apr-2009  lukem Enable WARNS=4 by default for usr.bin, except for:
awk bdes checknr compile_et error gss hxtool kgetcred kinit
klist ldd less lex locale login m4 man menuc mk_cmds
mklocale msgc openssl rpcgen rpcinfo sdiff spell ssh
string2key telnet tn3270 verify_krb5_conf xlint
 1.8 19-May-2006  rillig branches: 1.8.28;
Increased WARNS to 4.
 1.7 30-Jul-2005  christos branches: 1.7.2;
warns=3, delint.
 1.6 18-May-2003  lukem Now that <bsd.prog.mk> DTRT if HOSTPROG is defined (i.e, it is a no-op),
there's no need to special-case .include-ing it.
 1.5 14-Sep-2002  thorpej Allow mktemp to be built as a host tool.
 1.4 01-Apr-2002  bjh21 branches: 1.4.2;
On second thoughts, don't make mktemp a host tool. It's only used once, for
creating a temporary directory for maketars, and mkdir can do that safely
enough.
 1.3 31-Mar-2002  bjh21 Add mktemp as a host tool.
 1.2 21-Sep-1999  cgd branches: 1.2.2;
RCS ID police (sigh)
 1.1 02-Sep-1999  tron branches: 1.1.1;
Initial revision
 1.1.1.1 02-Sep-1999  tron Import FreeBSD's mktemp(1) utility.
 1.2.2.2 22-Sep-1999  cgd pull up revs 1.1-1.2 (new) from trunk (requested by cgd):
Add mktemp(1), a utility to make temporary files for shell scripts.
 1.2.2.1 21-Sep-1999  cgd file Makefile was added on branch netbsd-1-4 on 1999-09-22 03:17:49 +0000
 1.4.2.1 30-Nov-2002  he Pull up revision 1.5 (requested by thorpej in ticket #805):
Allow mktemp to build as a host tool.
 1.7.2.1 19-Jun-2006  chap Sync with head.
 1.8.28.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.24 25-Jul-2021  simonb Update to reflect current reality for template characters - the process
ID is not longer used and we replace each "X" with one of 64 values not
26 values.
 1.23 03-Jul-2017  wiz Remove workaround for ancient HTML generation code.
 1.22 10-Nov-2014  snj minor wording nits and a typo fix
 1.21 04-Nov-2012  apb branches: 1.21.8;
Reorganise, consolidate duplicated information, clarify wording,
attempt to make the man page match the actual behaviour.
 1.20 03-Nov-2012  christos PR/47155: Eitan Adler: add mktemp zero arguments extension
 1.19 15-Aug-2009  wiz branches: 1.19.6; 1.19.12;
Fix typo.
 1.18 15-Aug-2009  christos add -p <tmpdir> option to override $TMPDIR from the command line like linux
has.
 1.17 19-Sep-2006  wiz Lowercase argument (no reason for uppercase).
 1.16 19-Sep-2006  wiz New sentence, new line. Miscellaneous minor improvements.
 1.15 19-Sep-2006  hubertf Clarify usage: either -t or a template can be given (or both),
but at least one is mandatory.

Patch contributed by Tilman Kranz <tilman.kranz@tk-sls.de>,
OK'd by wiz@
 1.14 19-May-2006  rillig Typo.
 1.13 12-Jan-2006  wiz branches: 1.13.2;
New sentence, new line. Bump date for previous.
 1.12 12-Jan-2006  garbled Slight refinement of -t description. Note that it generates a template
with 8 X's. Change .Bx Free and .Bx Open to .Ox and .Fx.
 1.11 02-Apr-2004  wiz Bump date for previous.
 1.10 02-Apr-2004  jmmv Use ${0##*/} in examples instead of $0, so that they can successfully create
the temporary file even if the test program is executed given its full path.
That is, running /somewhere/test.sh could result in a call to mktemp like
mktemp /tmp//somewhere/test.sh.XXXXX, which fails.
Fixes PR misc/23447 by Piotr Meyer.
 1.9 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.8 30-Sep-2002  grant New sentence, new line.
 1.7 08-Feb-2002  ross Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
 1.6 09-Apr-2001  wiz Fix date.
 1.5 07-Nov-2000  lukem fix up various .Nm abuses:
- keep the case consistent between the actual name and what's referenced.
e.g, if it's `foo', don't use '.Nm Foo' at the start of a sentence.
- remove unnecessary `.Nm foo' after the first occurrence (except for
using `.Nm ""' if there's stuff following, or for the 2nd and so on
occurrences in a SYNOPSIS
- use Sx, Ic, Li, Em, Sq, and Xr as appropriate
 1.4 04-Sep-2000  kleink For commands and utilities, use EXIT STATUS rather than RETURN VALUES or
DIAGNOSTICS as appropriate (and documented in mdoc(7)).
 1.3 04-Sep-1999  tron branches: 1.3.2;
Forgot to mention OpenBSD in history.
 1.2 04-Sep-1999  tron Correct history for NetBSD and add RCS Id.
 1.1 02-Sep-1999  tron branches: 1.1.1;
Initial revision
 1.1.1.1 02-Sep-1999  tron Import FreeBSD's mktemp(1) utility.
 1.3.2.2 22-Sep-1999  cgd pull up revs 1.1-1.3 (new) from trunk (requested by cgd):
Add mktemp(1), a utility to make temporary files for shell scripts.
 1.3.2.1 04-Sep-1999  cgd file mktemp.1 was added on branch netbsd-1-4 on 1999-09-22 03:17:53 +0000
 1.13.2.1 19-Jun-2006  chap Sync with head.
 1.19.12.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.19.6.1 16-Jan-2013  yamt sync with (a bit old) head
 1.21.8.1 04-Dec-2014  martin 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
 1.12 03-Nov-2012  christos PR/47155: Eitan Adler: add mktemp zero arguments extension
 1.11 15-Aug-2009  christos branches: 1.11.6; 1.11.12;
add -p <tmpdir> option to override $TMPDIR from the command line like linux
has.
 1.10 15-Dec-2007  perry convert __attribute__s to applicable cdefs.h macros
 1.9 15-Dec-2007  perry include sys/cdefs.h so that __attribute__ can be fixed later
 1.8 19-Sep-2006  wiz branches: 1.8.8;
Sync usage with man page.
 1.7 30-Jul-2005  christos warns=3, delint.
 1.6 27-Oct-2003  lukem Overhaul how `build.sh tools' are used:

* Rename "config.h" to "nbtool_config.h" and
HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
This makes in more obvious in the source when we're using
tools/compat/config.h versus "standard autoconf" config.h

* Consistently move the inclusion of nbtool_config.h to before
<sys/cdefs.h> so that the former can provide __RCSID() (et al),
and there's no need to protect those macros any more.

These changes should make it easier to "tool-ify" a program by adding:
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
to the top of the source files (for the general case).
 1.5 14-Sep-2002  thorpej Allow mktemp to be built as a host tool.
 1.4 01-Apr-2002  bjh21 branches: 1.4.2;
On second thoughts, don't make mktemp a host tool. It's only used once, for
creating a temporary directory for maketars, and mkdir can do that safely
enough.
 1.3 31-Mar-2002  bjh21 Add mktemp as a host tool.
 1.2 21-Sep-1999  cgd branches: 1.2.2;
RCS ID police (sigh)
 1.1 02-Sep-1999  tron branches: 1.1.1;
Initial revision
 1.1.1.1 02-Sep-1999  tron Import FreeBSD's mktemp(1) utility.
 1.2.2.2 22-Sep-1999  cgd pull up revs 1.1-1.2 (new) from trunk (requested by cgd):
Add mktemp(1), a utility to make temporary files for shell scripts.
 1.2.2.1 21-Sep-1999  cgd file mktemp.c was added on branch netbsd-1-4 on 1999-09-22 03:17:57 +0000
 1.4.2.1 30-Nov-2002  he Pull up revision 1.5 (requested by thorpej in ticket #805):
Allow mktemp to build as a host tool.
 1.8.8.1 09-Jan-2008  matt sync with HEAD
 1.11.12.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.11.6.1 16-Jan-2013  yamt sync with (a bit old) head

RSS XML Feed