bugwdiff - Bugs: bug #36546, error executing diff results in...


bug #36546: error executing diff results in undeleted temporary files

Submitted by:  Martin von Gagern <gagern>
Submitted on:  Sun 27 May 2012 11:24:55 AM UTC  
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Confirmed
Privacy:  Public Assigned to:  Martin von Gagern <gagern>
Originator Name:  Open/Closed:  Open

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 27 May 2012 11:24:55 AM UTC, original submission:  

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.

Martin von Gagern <gagern>
Project AdministratorIn charge of this item.


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by gagern (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.5