[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [wdiff-bugs] [bug #36546] error executing diff results in undeleted
From: |
Nelson H. F. Beebe |
Subject: |
Re: [wdiff-bugs] [bug #36546] error executing diff results in undeleted temporary files |
Date: |
Mon, 28 May 2012 07:29:46 -0600 (MDT) |
>> http://savannah.gnu.org/bugs/?36546
A common approach in Unix software to ensure deletion of temporary
files in the event of premature job termination is to issue an
unlink() call immediately after a successful open. There is then no
need for special atexit() processing to cleanup, except on some
non-Unix systems with filesystems that do not support unlink().
-------------------------------------------------------------------------------
- Nelson H. F. Beebe Tel: +1 801 581 5254 -
- University of Utah FAX: +1 801 581 4148 -
- Department of Mathematics, 110 LCB Internet e-mail: address@hidden -
- 155 S 1400 E RM 233 address@hidden address@hidden -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------
- Re: [wdiff-bugs] [bug #36546] error executing diff results in undeleted temporary files,
Nelson H. F. Beebe <=