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 01:11: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 Wed, Sep 3, 2008 at 01:01, Lennart Borgman (gmail)
> <lennart.borgman@gmail.com> wrote:
> 
>> Maybe it is better to just test if the file really was deleted then.
> 
> And, again, how would you guarantee that the file isn't created by
> another process between the delete-file call and the check?
> 
>> The reason I want to test this is that errors in these parts often are
>> confusing and hard to find. There could be something that prevents the
>> file from beeing deleted.
> 
> The server file is deleted to make room for the new server file. If
> writing it fails, you'll notice.

Yes, but is it not easier to understand what is happening and catch the
message right after the delete-file?

> Are you chasing a real error, or the possibility of one?

A possible one.






reply via email to

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