diff options
author | Jan-Marek Glogowski <jan-marek.glogowski@extern.cib.de> | 2019-11-29 16:07:55 +0100 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2019-12-03 09:08:59 +0100 |
commit | c6553564a858a65a74c8727f08ae737c35b81a08 (patch) | |
tree | db6b313c74329bfcb0bfc3e5f44d1728db7f7205 /include | |
parent | 5a77636c9a638c86fd3de3afb6e88cf48f987b6a (diff) |
WIN map ERROR_DIRECTORY to osl_File_E_NOTDIR
The open_004 unit test fails on Windows with E_NOENT. I think the
assert is correct, and it's better change the ERROR_DIRECTORY
mapping, as FindFirstFileW returns ERROR_PATH_NOT_FOUND, if the
path doesn't exists at all.
The description of that error code in the MS API docs is "The
directory name is invalid.". And obviously there is no way to
tell, if this is actually a better mapping.
Change-Id: Id122ce39e90f3562e70c96a06752e5b32ed55b41
Reviewed-on: https://gerrit.libreoffice.org/84070
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions