[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[wdiff-bugs] [bug #36546] error executing diff results in undeleted temp
From: |
Martin von Gagern |
Subject: |
[wdiff-bugs] [bug #36546] error executing diff results in undeleted temporary files |
Date: |
Sun, 27 May 2012 11:24:56 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20100101 Firefox/12.0 |
URL:
<http://savannah.gnu.org/bugs/?36546>
Summary: error executing diff results in undeleted temporary
files
Project: wdiff
Submitted by: gagern
Submitted on: So 27 Mai 2012 13:24:55 CEST
Category: None
Severity: 3 - Normal
Item Group: None
Status: Confirmed
Privacy: Public
Assigned to: gagern
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
When the diff process spawned by wdiff dies for some reason, wdiff will exit
immediately, without unlinking the temporary files containing the input to
diff. This affects the test suite in particular, as Santiago Vila reported.
Most other places in the code longjmp to signal_label upon interruption, where
the cleaning is performed. But complete_input_program will exit instead.
Perhaps the cleaner solution would be replacing all that longjmp stuff with
some cleanup function to be registered using atexit. That would take care of
all those calls to the error function as well.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?36546>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/
- [wdiff-bugs] [bug #36546] error executing diff results in undeleted temporary files,
Martin von Gagern <=