OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Todd C. Miller (millertcvs.openbsd.org)
Date: Sun Mar 01 2009 - 07:35:46 CST


CVSROOT: /cvs
Module name: src
Changes by: millertcvs.openbsd.org 2009/03/01 06:35:46

Modified files:
        lib/libc/stdio : mktemp.c

Log message:
New mktemp(3) based on the one from portable mktemp(1). Now includes
digits (in addition to letters) in the random file name. Instead
of looping forever, mktemp(3) will terminate when it has tried 2 *
N^62 times where N is the number of X's. This is effectively forever
for lots of X's.