[Libreoffice-commits] core.git: include/osl

Chris Sherlock chris.sherlock79 at gmail.com
Mon Jan 29 06:31:33 UTC 2018


 include/osl/file.h |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

New commits:
commit 623a87a3c338a9b4cdc5d9753388b5956006b8b4
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date:   Mon Jan 29 01:17:35 2018 +1100

    osl: document osl_File_E_NETWORK enum
    
    Change-Id: I4c16ba13820b5cdec03c21a460d3d0ecc7dd86d5
    Reviewed-on: https://gerrit.libreoffice.org/48791
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/include/osl/file.h b/include/osl/file.h
index 16690882cfe1..7d6d22173420 100644
--- a/include/osl/file.h
+++ b/include/osl/file.h
@@ -130,7 +130,9 @@ typedef enum {
     osl_File_E_NOTREADY,        /*!< device not ready                                            */
     osl_File_E_invalidError,    /*!< unmapped error: always last entry in enum!                  */
     osl_File_E_TIMEDOUT,        /*!< socket operation timed out                                  */
-    osl_File_E_NETWORK,
+    osl_File_E_NETWORK,         /*!< unexpected network error occurred (Windows) - could be a
+                                     user session was deleted, or an unexpected network error
+                                     occurred                                                    */
     osl_File_E_FORCE_EQUAL_SIZE = SAL_MAX_ENUM
 } oslFileError;
 
@@ -828,7 +830,7 @@ SAL_DLLPUBLIC oslFileError SAL_CALL osl_getFileSize(
                 can mean that the address, length of the file or the
                 file offset are too large or not aligned on a page
                 boundary; on Linux can also mean after Linux 2.6.12
-                that the length was set to 0 (illogical.
+                that the length was set to 0 (illogical).
     @retval osl_File_E_OVERFLOW requested mapping size too large,
                 or the file offset was too large
     @retval osl_File_E_ACCES file descriptor to non-regular file, or


More information about the Libreoffice-commits mailing list