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

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

bug#20595: 24.4; Data lost when modifying file on filesystem with no spa


From: Paul Eggert
Subject: bug#20595: 24.4; Data lost when modifying file on filesystem with no space left on device / disc full
Date: Fri, 29 May 2015 23:24:56 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

Thank you for reporting this, and for the recipe for reproducing this important bug in Emacs. I installed the attached patches into the GNU Emacs master to fix the problem. The 1st patch doesn't actually fix the bug, but it fixes some related ones. The 2nd patch fixes the bug -- at least, it worked for me on your test case. I generated the 2nd patch with "diff -b" so its indenting won't match the source code; you can pick up the full gory details in savannah git master, around commit ab27722721afca4647a7eec0933ac9209e0eac30.

Attachment: 0001-copy-file-now-truncates-output-after-writing.patch
Description: Text Data

Attachment: bugfix.patch
Description: Text Data


reply via email to

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