[Libreoffice-commits] .: sal/osl
Thomas Klausner
tklausner at kemper.freedesktop.org
Tue Oct 19 01:50:24 PDT 2010
sal/osl/unx/process_impl.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e62609eb7b9a3bab3b283d5b3aeb67e65affb74b
Author: Thomas Klausner <wiz at NetBSD.org>
Date: Tue Oct 19 10:49:50 2010 +0200
FreeBSD's unsetenv also returns an int.
diff --git a/sal/osl/unx/process_impl.cxx b/sal/osl/unx/process_impl.cxx
index 8ab0db6..3301f26 100644
--- a/sal/osl/unx/process_impl.cxx
+++ b/sal/osl/unx/process_impl.cxx
@@ -408,7 +408,7 @@ oslProcessError SAL_CALL osl_clearEnvironment(rtl_uString* pustrEnvVar)
result = osl_Process_E_None;
else
rtl_string_release(pBuffer);
-#elif (defined(MACOSX) || defined(FREEBSD))
+#elif defined(MACOSX)
//MacOSX baseline is 10.4, which has an old-school void return
//for unsetenv.
//See: http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/10.4/man3/unsetenv.3.html?useVersion=10.4
More information about the Libreoffice-commits
mailing list