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

 
 

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

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

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       No canned response available

 

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 Administrator

 

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

Attach Files:
   
   
Comment:
   

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.9