summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/mktemp.c
AgeCommit message (Expand)Author
2014-08-31Add additional userland interfaces for setting close-on-exec on fdsPhilip Guenther
2014-05-06We don't really need uniform distribution for mktemp(3) so useTodd C. Miller
2013-03-12Return EINVAL if there are fewer than six template Xs in the path.Philip Guenther
2011-10-02signedness fix; ok millertDarren Tucker
2010-03-21When all tried file names already existed, mktemp(3) returned withoutIngo Schwarze
2010-02-11The previous commit didn't use the first X in the template if thePhilip Guenthe
2010-02-08Don't underrun the buffer when the template is all X's.Philip Guenthe
2009-03-20Return -1 from mktemp_internal() on EINVAL like we used to.Todd C. Miller
2009-03-01New mktemp(3) based on the one from portable mktemp(1). Now includesTodd C. Miller
2009-02-17when the template is entirely XXX characters, would crashTheo de Raadt
2008-09-15add missing header needed by strlen().Charles Longeau
2008-08-22Replace the old algorithm that included the process id as part of theTodd C. Miller
2008-08-21Remove useless code, the kernel will set errno appropriately if anTodd C. Miller
2008-07-22use arc4random_uniform(); ok djm millertTheo de Raadt
2007-10-21Comment fix about time consumption of _gettemp.Tobias Stoeckmann
2005-08-08zap remaining rcsid.Marc Espie
2004-09-28deregister + ansify, no change in object code. ok deraadt@ millert@Otto Moerbeek
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-05-27Don't decrement the current character pointer past the beginning of theTodd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2002-01-02more pid_t useTheo de Raadt
1998-06-30add mkstemp(char *template, int suffixlen) interfaceTheo de Raadt
1998-04-14wrap Z->a and z->A; peter@netplex.com.auTheo de Raadt
1998-03-04uninitialized case; bdeTheo de Raadt
1997-10-071) Don't truncate the input string when a directory cannot be stat'dTodd C. Miller
1997-06-20Add mkdtemp(3)Todd C. Miller
1997-04-07Change a stat(2) -> lstat(2) to avoid symlink games. From KeithTodd C. Miller
1997-02-10Pull in stdlib.h for arc4random prototype.Todd C. Miller
1997-02-07pre-pad with random alphabetic letters instead of digit 0Theo de Raadt
1997-01-20back out my last change to avoid the __warn_references on the mips - it'sThomas Graichen
1997-01-19put all the __warn_references behind a #ifndef NO_WARN_REFERENCES whichThomas Graichen
1996-12-2895% of common uses of these are incorrect and insecure. correct use isTheo de Raadt
1996-08-19Fix RCS idsThorsten Lockert
1995-10-18initial import of NetBSD treeTheo de Raadt