bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#865: 23.0.60; The directory is unsafe today


From: Lennart Borgman (gmail)
Subject: bug#865: 23.0.60; The directory is unsafe today
Date: Wed, 03 Sep 2008 00:40:46 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

Juanma Barranquero wrote:
> On Tue, Sep 2, 2008 at 21:10, Lennart Borgman (gmail)
> <lennart.borgman@gmail.com> wrote:
> 
>> BTW there is a
>>
>>  (ignore-errors (delete-file server-file))
>>
>> in server-start. I do not like the ignore-errors there. Check if the
>> file is there first and if it is delete it.
> 
> How are you going to guarantee that the file isn't deleted by another
> process between the check and the delete-file call?


Forgot that discussion. Yes, but why not check the error returned instead?






reply via email to

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