diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 4fbc7a2fb..9f184fd0e 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -153,6 +153,7 @@ James Duncan Davidson Jan Cumps Jan Matèrne Jan Mynarik +Jan Stolze Jason Hunter Jason Pettiss Jason Salter diff --git a/WHATSNEW b/WHATSNEW index 9ba763066..b7b1e56f4 100644 --- a/WHATSNEW +++ b/WHATSNEW @@ -18,7 +18,11 @@ Other changes: entries with long names. * swallowed the status code of nested tasks. - Bugzilla Report 55539 + Bugzilla Report 55539. + + * a race condition could make tasks of parallel builds to + interfere with each other. + Bugzilla Report 54393. Changes from Ant 1.9.1 TO Ant 1.9.2 =================================== diff --git a/contributors.xml b/contributors.xml index cd422aebf..06cf723fb 100644 --- a/contributors.xml +++ b/contributors.xml @@ -626,18 +626,22 @@ Duncan Davidson + + Jan + Cumps + Jan Matèrne - - Jan - Cumps - Jan Mynarik + + Jan + Stolze + Jason Hunter diff --git a/src/main/org/apache/tools/ant/taskdefs/FixCRLF.java b/src/main/org/apache/tools/ant/taskdefs/FixCRLF.java index f5028d275..2719afd9a 100644 --- a/src/main/org/apache/tools/ant/taskdefs/FixCRLF.java +++ b/src/main/org/apache/tools/ant/taskdefs/FixCRLF.java @@ -352,9 +352,9 @@ public class FixCRLF extends MatchingTask implements ChainableReader { fcv = new Vector(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());