emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unicode build: "comparison is always true" warnings


From: Matthieu Lemerre
Subject: Re: unicode build: "comparison is always true" warnings
Date: Sat, 24 Nov 2007 15:49:48 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

>> An attacker could create a symlink with this name file between these
>> two operations, thus the file would be erased.
>
> That does not happen, because the open will fail when the file already
> exists.
>
> Andreas.

You're right, this is the meaning of O_EXCL, that I had forgotten.

Then I agree with you; mkstemp is just a commodity.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]