ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54393] FixCRLF is not creating unique file names
Date Fri, 11 Jan 2013 06:33:01 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54393

--- Comment #3 from Jan Stolze <jan.stolze@cofely.nl> ---
Index: FixCRLF.java
===================================================================
--- FixCRLF.java    (revision 1431908)
+++ FixCRLF.java    (working copy)
@@ -352,9 +352,9 @@
             fcv = new Vector<FilterChain>(1);
             fcv.add(fc);
         }
-        File tmpFile = FILE_UTILS.createTempFile("fixcrlf", "", null, true,
false);
+        File tmpFile = FILE_UTILS.createTempFile("fixcrlf", "", null, true,
true);
         try {
-            FILE_UTILS.copyFile(srcFile, tmpFile, null, fcv, false, false,
+            FILE_UTILS.copyFile(srcFile, tmpFile, null, fcv, true, false,
                 encoding, outputEncoding == null ? encoding : outputEncoding,
                 getProject());

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message