On Apr  3, 2000, Russ Allbery <[EMAIL PROTECTED]> wrote:

> Akim Demaille <[EMAIL PROTECTED]> writes:
>> Would doing something like

>> tmp=/tmp/ac.${RANDOM-$$}

>> be good?

> Sure, that would definitely be an improvement on any host with a
> shell that has $RANDOM support, and shouldn't be any worse on hosts
> without it.

Except that RANDOM may be not that RANDOM, i.e., it may randomly clash
too, so we'd better retry it a few times before giving up.  It may
become extremely annoying in case of a huge package with dozens of
`configure's.

-- 
Alexandre Oliva    Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me

Reply via email to