On Sat, Mar 28, 2009 at 02:55:48PM +0100, Jakub Wilk wrote:
> 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



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

Reply via email to