diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-11-19 11:56:22 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-11-19 13:01:34 +0100 |
commit | df451d6a539fdf3c7248e16203026bd8df423e53 (patch) | |
tree | d2cbbbad2febb2de2cb17d5d6d033a7dc1b2c2d3 /sal | |
parent | b64c90c1ef0067aeedc22f6a4bbe7ca243ffdc77 (diff) |
pipe.c -> pipe.cxx
Change-Id: I0c9659379e6120c0bf01b6436d3127b83ad01af1
Diffstat (limited to 'sal')
-rw-r--r-- | sal/Library_sal.mk | 2 | ||||
-rw-r--r-- | sal/osl/unx/pipe.cxx (renamed from sal/osl/unx/pipe.c) | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sal/Library_sal.mk b/sal/Library_sal.mk index 6dfcfaac37d3..4bc6d08de2db 100644 --- a/sal/Library_sal.mk +++ b/sal/Library_sal.mk @@ -163,6 +163,7 @@ $(eval $(call gb_Library_add_exception_objects,sal,\ sal/osl/unx/module \ sal/osl/unx/mutex \ sal/osl/unx/nlsupport \ + sal/osl/unx/pipe \ sal/osl/unx/process \ sal/osl/unx/process_impl \ sal/osl/unx/profile \ @@ -172,7 +173,6 @@ $(eval $(call gb_Library_add_exception_objects,sal,\ $(if $(filter DESKTOP,$(BUILD_TYPE)), sal/osl/unx/salinit) \ )) $(eval $(call gb_Library_add_cobjects,sal,\ - sal/osl/unx/pipe \ sal/osl/unx/readwrite_helper \ sal/osl/unx/socket \ sal/osl/unx/system \ diff --git a/sal/osl/unx/pipe.c b/sal/osl/unx/pipe.cxx index e3e08b55a469..ec78c2aee446 100644 --- a/sal/osl/unx/pipe.c +++ b/sal/osl/unx/pipe.cxx @@ -137,10 +137,10 @@ oslPipe SAL_CALL osl_createPipe(rtl_uString *ustrPipeName, oslPipeOptions Option } -static sal_Bool +static bool cpyBootstrapSocketPath(sal_Char *name, size_t len) { - sal_Bool bRet = sal_False; + bool bRet = false; rtl_uString *pName = 0, *pValue = 0; rtl_uString_newFromAscii(&pName, "OSL_SOCKET_PATH"); @@ -180,7 +180,7 @@ oslPipe SAL_CALL osl_psz_createPipe(const sal_Char *pszPipeName, oslPipeOptions sal_Char name[PATH_MAX + 1]; size_t nNameLength = 0; - int bNameTooLong = 0; + bool bNameTooLong = false; oslPipe pPipe; if (access(PIPEDEFAULTPATH, R_OK|W_OK) == 0) |