freebsd-dev/lib/libc/stdio
Kris Kennaway f1303ab4b2 Increase the size of the mktemp() filename space by dropping the PID from
the encoding and using the character set [a-zA-Z0-9]. This gives a total
of 62^6 = 56800235584 possible temporary filenames for the usual default
invocation of 6 X's (compared to as few as 52 possibilities for the
previous algorithm where up to 5 characters were wasted by the PID).

Update some apparently bitrotten comments to reflect reality.

Audited by:	eivind, freebsd-audit
Reviewed by:	freebsd-current (a while ago)
Originally submitted by:	Peter Jeremy <Peter.Jeremy@alcatel.com.au>
2000-11-10 23:27:55 +00:00
..
_flock_stub.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
asprintf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
clrerr.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fclose.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
fclose.c Make __sfp() even more thread-safe. 1999-11-21 22:34:57 +00:00
fdopen.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
feof.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ferror.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
ferror.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fflush.3 Use `Er' variable to define first column width in ERRORS section. 2000-05-06 12:07:59 +00:00
fflush.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fgetc.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fgetln.3 Use `Er' variable to define first column width in ERRORS section. 2000-05-06 12:07:59 +00:00
fgetln.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fgetpos.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fgets.3 Use `Er' variable to define first column width in ERRORS section. 2000-05-06 12:07:59 +00:00
fgets.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fileno.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
findfp.c Make __sfp() (FILE allocator) thread-safe: added locking like in malloc(). 1999-11-20 14:01:48 +00:00
flags.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
floatio.h BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
fopen.3 Better documentation of append mode. This should have gone in -current 2000-09-22 12:55:36 +00:00
fopen.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
fprintf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fpurge.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fputc.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fputs.3 Use `Er' variable to define first column width in ERRORS section. 2000-05-06 12:07:59 +00:00
fputs.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fread.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
fread.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
freopen.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
fscanf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fseek.3 Use `Er' variable to define first column width in ERRORS section. 2000-05-06 12:07:59 +00:00
fseek.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fsetpos.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ftell.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
funopen.3 Use `Er' variable to define first column width in ERRORS section. 2000-05-06 12:07:59 +00:00
funopen.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
fvwrite.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fvwrite.h BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
fwalk.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fwrite.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getc.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
getc.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getchar.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
gets.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
getw.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
glue.h BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
local.h Import CSRG 4.4BSD-Lite2 lib/libc onto vendor branch 1997-03-11 11:29:42 +00:00
makebuf.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
Makefile.inc $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
mktemp.3 Use `Er' variable to define first column width in ERRORS section. 2000-05-06 12:07:59 +00:00
mktemp.c Increase the size of the mktemp() filename space by dropping the PID from 2000-11-10 23:27:55 +00:00
perror.c Check for a zero-length as well as a NULL string argument. 1998-10-29 14:40:20 +00:00
printf.3 Avoid use of direct troff requests in mdoc(7) manual pages. 2000-11-10 17:46:15 +00:00
printf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
putc.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
putc.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
putchar.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
puts.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
putw.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
refill.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
remove.3 According to the susv2 man pages I have, remove(3) should act as 2000-08-28 15:45:42 +00:00
remove.c According to the susv2 man pages I have, remove(3) should act as 2000-08-28 15:45:42 +00:00
rewind.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
rget.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
scanf.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
scanf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
setbuf.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
setbuf.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
setbuffer.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
setvbuf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
snprintf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
sprintf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
sscanf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
stdio.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
stdio.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
tempnam.c Remove UNSAFE_WARN ifdef for mktemp warning (never defined) 1999-10-24 11:57:24 +00:00
tmpfile.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
tmpnam.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
tmpnam.c Remove UNSAFE_WARN ifdef for mktemp warning (never defined) 1999-10-24 11:57:24 +00:00
ungetc.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
ungetc.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
vasprintf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
vfprintf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
vfscanf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
vprintf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
vscanf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
vsnprintf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
vsprintf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
vsscanf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
wbuf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
wsetup.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00