From owner-cvs-all Fri Nov 10 15:28: 0 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5D3E437B4C5; Fri, 10 Nov 2000 15:27:56 -0800 (PST) Received: (from kris@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA26334; Fri, 10 Nov 2000 15:27:56 -0800 (PST) (envelope-from kris@FreeBSD.org) Message-Id: <200011102327.PAA26334@freefall.freebsd.org> From: Kris Kennaway Date: Fri, 10 Nov 2000 15:27:56 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdio mktemp.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG kris 2000/11/10 15:27:56 PST Modified files: lib/libc/stdio mktemp.c Log: 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 Revision Changes Path 1.20 +18 -26 src/lib/libc/stdio/mktemp.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message