[Libreoffice-commits] core.git: Branch 'aoo/trunk' - sal/osl

Andrea Pescetti pescetti at apache.org
Sat Oct 17 13:12:26 PDT 2015


 sal/osl/w32/file_error.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 4eb5b30eabac4b3405b322a2cc48bebdbebe7fac
Author: Andrea Pescetti <pescetti at apache.org>
Date:   Sat Oct 17 19:56:25 2015 +0000

    #i126582# Prevent errors with read/only shares on Sharepoint.
    
    Patch by: Giuseppe Castagno
    
    Added a Windows API missing error:
    ERROR_CANT_ACCESS_FILE
    file cannot be accessed by the system.

diff --git a/sal/osl/w32/file_error.c b/sal/osl/w32/file_error.c
index 5a98b5b..ae424a5 100644
--- a/sal/osl/w32/file_error.c
+++ b/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. */


More information about the Libreoffice-commits mailing list