Ticket #9248: os_file_functions.patch
File os_file_functions.patch, 766 bytes (added by , 9 years ago) |
---|
-
os_file_functions.hpp
old new 273 273 //If it's a directory, go recursive 274 274 if(FileInformation.dwFileAttributes & winapi::file_attribute_directory){ 275 275 // Delete subdirectory 276 if(!delete_subdirectories_recursive(strFilePath, dont_delete_this, count+1)) 276 if(!delete_subdirectories_recursive(strFilePath, dont_delete_this, count+1)) { 277 // Don't forget to close handle 278 winapi::find_close(hFile); 277 279 return false; 280 } 278 281 } 279 282 //If it's a file, just delete it 280 283 else{