seeking out problem file.
[feisty_meow.git] / nucleus / library / filesystem / heavy_file_ops.cpp
index 9a5451b74687355869bcf82de5e0803efc703423..695746c8c7ad254b16799a9152a300c6a5c73361 100644 (file)
@@ -189,6 +189,7 @@ outcome heavy_file_operations::write_file_chunk(const astring &target,
     // open the file for updating (either read or write).
   if (!target_file.good()) return TARGET_ACCESS_ERROR;
   double curr_len = target_file.length();
+  target_file.touch();
 
   if (curr_len < byte_start) {
     byte_array new_chunk;