From 61214a6eb9928c25e48dabdb5dd6c0fdfa2bc4f3 Mon Sep 17 00:00:00 2001 From: Giuseppe Castagno Date: Thu, 8 Oct 2015 15:25:26 +0200 Subject: [PATCH] Issue i126582: When trying to access a read/only share on Sharepoint an error is shown. Added a Windows API missing error: ERROR_CANT_ACCESS_FILE file cannot be accessed by the system. --- main/sal/osl/w32/file_error.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main/sal/osl/w32/file_error.c b/main/sal/osl/w32/file_error.c index 322c7f7..030f1ff 100644 --- a/main/sal/osl/w32/file_error.c +++ b/main/sal/osl/w32/file_error.c @@ -87,6 +87,7 @@ static const struct osl_file_error_entry errtable[] = { { ERROR_NESTING_NOT_ALLOWED, osl_File_E_AGAIN }, /* 215 */ { ERROR_DIRECTORY, osl_File_E_NOENT }, /* 267 */ { ERROR_NOT_ENOUGH_QUOTA, osl_File_E_NOMEM }, /* 1816 */ + { ERROR_CANT_ACCESS_FILE, osl_File_E_ACCES }, /* 1920 */ { ERROR_UNEXP_NET_ERR, osl_File_E_NETWORK }, /* 59 */ { ERROR_FILE_CHECKED_OUT, osl_File_E_LOCKED }, /* 220 The file is locked or checked out by another user. */ { ERROR_INVALID_NAME, osl_File_E_NOENT } /* 123 One or more of the names composing the file path has a wrong syntax. */ -- 1.9.1