aboutsummaryrefslogtreecommitdiff
path: root/editors/openoffice.org-1.1-devel/files/patch-sal::osl::unx::process.c
blob: 9d7ffa6686d340bd0d1443a3fcce9d8e01d7dcaf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ../sal/osl/unx/process.c.orig	Sat Mar  2 22:33:17 2002
+++ ../sal/osl/unx/process.c	Sat Mar  2 22:33:58 2002
@@ -834,7 +834,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=");