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

Milian Wolff milian.wolff at kdab.com
Wed Jan 24 09:55:51 UTC 2018


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

New commits:
commit cca67d26b6d503ab7dcf3a05fb77fe648cd25f2c
Author: Milian Wolff <milian.wolff at kdab.com>
Date:   Tue Jan 23 17:40:51 2018 +0100

    Fix documentation for osl_executeProcess_WithRedirectedIO
    
    The file handle arguments are out parameters, not input parameters.
    
    Change-Id: Iad604e4df9e89a8f83c4cb6a3faa35ee20cd80aa
    Reviewed-on: https://gerrit.libreoffice.org/48450
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
    Tested-by: Jenkins <ci at libreoffice.org>

diff --git a/include/osl/process.h b/include/osl/process.h
index a2c1eed4193c..f3aa86d2f6dc 100644
--- a/include/osl/process.h
+++ b/include/osl/process.h
@@ -203,17 +203,17 @@ SAL_DLLPUBLIC oslProcessError SAL_CALL osl_executeProcess(
     Pointer to a oslProcess variable, which receives the handle of the newly created process.
     This parameter must not be NULL.
 
-    @param[in] pChildInputWrite
+    @param[out] pChildInputWrite
     Pointer to a oslFileHandle variable that receives the handle which can be used to write
     to the child process standard input device. The returned handle is not random accessible.
     The handle has to be closed with osl_closeFile if no longer used. This parameter can be NULL.
 
-    @param[in] pChildOutputRead
+    @param[out] pChildOutputRead
     Pointer to a oslFileHandle variable that receives the handle which can be used to read from
     the child process standard output device. The returned handle is not random accessible.
     The Handle has to be closed with osl_closeFile if no longer used. This parameter can be NULL.
 
-    @param[in] pChildErrorRead
+    @param[out] pChildErrorRead
     Pointer to a oslFileHandle variable that receives the handle which can be used to read from
     the child process standard error device. The returned handle is not random accessible.
     The Handle has to be closed with osl_closeFile if no longer used. This parameter can be NULL.


More information about the Libreoffice-commits mailing list