GNU bug report logs - #20595
24.4; Data lost when modifying file on filesystem with no space left on device / disc full

Previous Next

Package: emacs;

Reported by: Matthew Blissett <mailgateway <at> blissett.me.uk>

Date: Sun, 17 May 2015 17:50:03 UTC

Severity: important

Tags: confirmed

Found in version 24.4

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #12 received at 20595-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Matthew Blissett <mailgateway <at> blissett.me.uk>
Cc: 20595-done <at> debbugs.gnu.org
Subject: Re: 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
[Message part 1 (text/plain, inline)]
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.
[0001-copy-file-now-truncates-output-after-writing.patch (text/x-patch, attachment)]
[bugfix.patch (text/x-patch, attachment)]

This bug report was last modified 10 years and 1 day ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.