diff options
Diffstat (limited to 'zen/file_handling.h')
-rw-r--r-- | zen/file_handling.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zen/file_handling.h b/zen/file_handling.h index 48a762d7..d14ed27f 100644 --- a/zen/file_handling.h +++ b/zen/file_handling.h @@ -75,7 +75,8 @@ void copyFile(const Zstring& sourceFile, //throw FileError, ErrorTargetPathMissi //Note: it MAY happen that copyFile() leaves temp files behind, e.g. temporary network drop. // => clean them up at an appropriate time (automatically set sync directions to delete them). They have the following ending: -const Zstring TEMP_FILE_ENDING = Zstr(".ffs_tmp"); + +const Zchar TEMP_FILE_ENDING[] = Zstr(".ffs_tmp"); //don't use Zstring as global constant: avoid static initialization order problem in global namespace! void copySymlink(const Zstring& sourceLink, const Zstring& targetLink, bool copyFilePermissions); //throw FileError } |