* Clint Adams <[email protected]>, 2009-03-28, 17:24:
mktemp uses exactly 6 Xs from its template. This is contrary to what the manual page says and quite surprising, especially given that the default template contains 10 Xs:

$ mktemp
/tmp/tmp.XXXXH467oR
$ mktemp
/tmp/tmp.XXXXaWVaKe
$ mktemp
/tmp/tmp.XXXX6a4fkS
$ mktemp
/tmp/tmp.XXXX3POQGi

Possible courses of action:

1) revert the use of libc mkstemp, fix priv_mkstemp

2) adjust documentation and default template to reflect exact 6

3) replace mktemp with coreutils's mktemp

If my opinion matters, I'm in favour of 1 or 3.

--
Jakub Wilk



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to