[Libreoffice-commits] core.git: sal/osl
Giuseppe Castagno
giuseppe.castagno at acca-esse.eu
Sat Oct 10 23:18:58 PDT 2015
sal/osl/w32/file_error.c | 1 +
1 file changed, 1 insertion(+)
New commits:
commit b49a2f7373e950efc3fe11b89309313ac69c1e1f
Author: Giuseppe Castagno <giuseppe.castagno at acca-esse.eu>
Date: Thu Oct 8 11:04:07 2015 +0200
tdf#94888: Accessing Sharepoint r/o share through UNC path does not work
Added a Windows API missing error.
The error added:
ERROR_CANT_ACCESS_FILE
returned when a file cannot be accessed by the system.
Mapped to existent osl_File_E_.... for compatibility.
Change-Id: Ia68cdf761a62db8960b143a69ccfa3e12fc6eac5
Reviewed-on: https://gerrit.libreoffice.org/19270
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
diff --git a/sal/osl/w32/file_error.c b/sal/osl/w32/file_error.c
index 2d7243d..cdb8571 100644
--- a/sal/osl/w32/file_error.c
+++ b/sal/osl/w32/file_error.c
@@ -86,6 +86,7 @@ static const struct osl_file_error_entry errtable[] = {
{ ERROR_FILE_CHECKED_OUT, osl_File_E_ACCES }, /* 220 */
{ 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 */
};
More information about the Libreoffice-commits
mailing list