Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Nov 2000 15:27:56 -0800 (PST)
From:      Kris Kennaway <kris@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/stdio mktemp.c
Message-ID:  <200011102327.PAA26334@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <Peter.Jeremy@alcatel.com.au>
  
  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011102327.PAA26334>