summaryrefslogtreecommitdiff
path: root/editors/openoffice-1.0/files/patch-sal+osl+unx+process.c
blob: 3af6652430dd6e5ce5ff8438f20df32ba0c4631c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ../sal/osl/unx/process.c.orig	Wed Jan  9 13:07:41 2002
+++ ../sal/osl/unx/process.c	Wed Apr  3 00:59:53 2002
@@ -833,7 +833,7 @@
 
 			if (! INIT_GROUPS(data.m_name, data.m_gid) || (setuid(data.m_uid) != 0))
 				OSL_TRACE("Failed to change uid and guid, errno=%d (%s)\n", errno, strerror(errno));
-#ifdef LINUX
+#if defined(LINUX) || defined(FREEBSD)
 			unsetenv("HOME");
 #else
 			putenv("HOME=");