Paul Jackson <[EMAIL PROTECTED]> wrote:
> Even mktemp(1) can collide, in theory, since there is no practical way
> in shell scripts to hold open and locked the file from the instant of it
> is determined to be a unique name.

mktemp(1) creates the file before exiting.  Other instances of mktemp(1)
cannot successfully create the same file (they all use O_EXCL).
Therefore this race does not exist, even in theory :)
Visit Openswan at
Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
Home Page:
PGP Key:
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to