You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2010/01/07 17:03:18 UTC

DO NOT REPLY [Bug 48506] New: creates temp files but does not delete them

https://issues.apache.org/bugzilla/show_bug.cgi?id=48506

           Summary: <fixcrlf> creates temp files but does not delete them
           Product: Ant
           Version: 1.7.1
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: jglick@netbeans.org


At least as of Ant 1.7.1, our Hudson builder's temp directory has dozens of
files named e.g. 'fixcrlf2056549125'. It seems FixCRLF.processFile does not
reliably delete tmpFile.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 48506] creates temp files but does not delete them

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48506

Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |1.8.0

--- Comment #1 from Stefan Bodewig <bo...@apache.org> 2010-01-11 21:26:13 UTC ---
The temp file is not deleted at all, the code relies on deleteOnExit() - this
may mean the file never gets deleted if the process never exits.

svn revision 898183 should improve the situation

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.