path: root/src/lib/ecore_file
diff options
authorVyacheslav Reutskiy <>2016-11-23 15:43:40 +0200
committerVyacheslav Reutskiy <>2016-11-23 16:19:55 +0200
commit56c202614b73f0e4c34d7a5cd070fe2b24d9217f (patch)
tree4daddff0ed10de493ab090d4833a26f019a68224 /src/lib/ecore_file
parent164ece9e3f9ce0c011255d6f420ba660b48f35a9 (diff)
eina_file_win32: close handler in case of error
Func _eina_file_win32_first_file try to find the first file in directory but if any file not found the file handler stay open, and func will return error. But in this case while handle is open impossible to do any actions. For example call eina_file_ls for empty folder, func will return error and fold folder open. And if we try to remove this folder Windows only mark it to delete, and remove it after the process is complete. Solution: close handler in error case.
Diffstat (limited to 'src/lib/ecore_file')
0 files changed, 0 insertions, 0 deletions