Explorar el Código

HPCC-11463 Reintroduce usetmp parameter (which defaulted to false)

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday hace 11 años
padre
commit
5d6c3b5696
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      system/jlib/jfile.cpp

+ 1 - 1
system/jlib/jfile.cpp

@@ -2847,7 +2847,7 @@ void copyFile(const char *target, const char *source, size32_t buffersize, ICopy
 
 
 void copyFile(IFile * target, IFile * source, size32_t buffersize, ICopyFileProgress *progress, CFflags copyFlags)
 void copyFile(IFile * target, IFile * source, size32_t buffersize, ICopyFileProgress *progress, CFflags copyFlags)
 {
 {
-    source->copyTo(target, buffersize, progress, copyFlags);
+    source->copyTo(target, buffersize, progress, false, copyFlags);
 }
 }
 
 
 void doCopyFile(IFile * target, IFile * source, size32_t buffersize, ICopyFileProgress *progress, ICopyFileIntercept *copyintercept, bool usetmp, CFflags copyFlags)
 void doCopyFile(IFile * target, IFile * source, size32_t buffersize, ICopyFileProgress *progress, ICopyFileIntercept *copyintercept, bool usetmp, CFflags copyFlags)