GNU bug report logs - #36007
double close() of of=file if receiving SIGINT during fdatasync()

Previous Next

Package: coreutils;

Reported by: Hans Henrik Bergan <divinity76 <at> gmail.com>

Date: Thu, 30 May 2019 16:03:02 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Hans Henrik Bergan <divinity76 <at> gmail.com>, 36007-done <at> debbugs.gnu.org
Subject: Re: bug#36007: double close() of of=file if receiving SIGINT during
 fdatasync()
Date: Thu, 30 May 2019 13:56:04 -0700
[Message part 1 (text/plain, inline)]
Thanks for reporting the bug. I installed the attached patch into the 
development version on Savannah, to fix the bug you reported along with 
a closely related bug that I found when looking into your problem. 
Please give this patch a try at your convenience.
[0001-dd-be-more-careful-about-signal-handling.patch (text/x-patch, attachment)]

This bug report was last modified 6 years and 49 days ago.

Previous Next


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