summaryrefslogtreecommitdiff
path: root/usr.bin/mktemp/mktemp.c
AgeCommit message (Collapse)Author
2003-06-17Sync with share/misc/license.template and add missing DARPA creditTodd C. Miller
where applicable.
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-03Use an ISC-tyle license for all my code; it is simpler and more permissive.Todd C. Miller
2003-04-25Don't assume that asprintf() will leave "tempfile" unmolested whenTodd C. Miller
memory allocation fails. Noted and OK by pval@
2003-04-07Simplify code for -t using asprintf(); deraadt@ OKTodd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-10-11Sync with portable mktemp-1.4; the template is now optional.Todd C. Miller
Came out of discussions with Solar Designer.
2001-10-01Add -t and -d flags to allow script writers to easily take a user's TMPDIRTodd C. Miller
environment variable into account. This came out of a discussion with Solar Designer.
1998-06-21Remove the advertising clause in my old license, it impedes free useTodd C. Miller
of the code as a large number of similar clauses makes it impossible to write an ad for a product using the code...
1997-06-20Use mkdtemp(3)Todd C. Miller
1997-06-17Adds a -d (directory) flag.Todd C. Miller
1997-01-03Better error on failure.Todd C. Miller
1996-11-21mktemp(1) for shell scripts. No more gross directory hackery for safe tempTodd C. Miller
files.