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

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

bug#68546: 29.1.90; end-of-file has incorrect data when signaled within


From: Dmitry Gutov
Subject: bug#68546: 29.1.90; end-of-file has incorrect data when signaled within a load
Date: Fri, 26 Jan 2024 02:55:52 +0200
User-agent: Mozilla Thunderbird

On 25/01/2024 16:12, Spencer Baugh wrote:
Ah, I think the cause (in at least one case) is that the user ran out of disk space, and so the write-region call in project--write-project-list failed when writing, which happens after truncating the existing file.

Makes sense.

I guess there should be some atomic version of write-region which writes to a temp file and renames it over the original.

Yep, that would be an improvement.





reply via email to

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