On 2013-04-23 07:47:56 -0400, grarpamp wrote:
> > you can add random characters before the suffix, and in case of
> 
> Random chars from where?

Even functions like rand() or random() can be sufficient with a seed
difficult to guess (whether Mutt is interactive or not), since there
has already been randomness to generate the first filename. If this
isn't OK, /dev/urandom is available on many systems:

  http://en.wikipedia.org/wiki//dev/random

> So if mktemp deprecated/missing, mkstemps missing, suffix
> wanted does that leave effectively open( random() )?
> What current platforms are missing/unusable mkstemps?

Not sure whether this is up to date:

  http://www.gnu.org/software/gnulib/manual/html_node/mkstemps.html

-- 
Vincent Lefèvre <[email protected]> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to