summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_kern.c
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-11-10 23:27:55 +0000
committerkris <kris@FreeBSD.org>2000-11-10 23:27:55 +0000
commit919c3e124ed41242fbbd60029a9e5158ab8a15ea (patch)
treebe9a5763903a207460182b2e38a63887daf403de /lib/libpthread/thread/thr_kern.c
parentfd17851060a93753f322c9e45673f13bb2c85d2a (diff)
downloadFreeBSD-src-919c3e124ed41242fbbd60029a9e5158ab8a15ea.zip
FreeBSD-src-919c3e124ed41242fbbd60029a9e5158ab8a15ea.tar.gz
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>
Diffstat (limited to 'lib/libpthread/thread/thr_kern.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud