summaryrefslogtreecommitdiff
path: root/editors/openoffice-1.1/files/patch-sal::osl::unx::process.c
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2002-03-02 21:41:34 +0000
committerMartin Blapp <mbr@FreeBSD.org>2002-03-02 21:41:34 +0000
commitc0bcf00e1bbd6fd33cfeed3b9612b2a5faeb39d1 (patch)
tree1a9f5e7ad35d941f79ae3e514df10ea9db17811d /editors/openoffice-1.1/files/patch-sal::osl::unx::process.c
parentUpdate to 0.4.5. (diff)
Another patchset from Carlos Fernando Assis Paniago <pan@cnpm.embrapa.br>
Notes
Notes: svn path=/head/; revision=55416
Diffstat (limited to 'editors/openoffice-1.1/files/patch-sal::osl::unx::process.c')
-rw-r--r--editors/openoffice-1.1/files/patch-sal::osl::unx::process.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/openoffice-1.1/files/patch-sal::osl::unx::process.c b/editors/openoffice-1.1/files/patch-sal::osl::unx::process.c
new file mode 100644
index 000000000000..9d7ffa6686d3
--- /dev/null
+++ b/editors/openoffice-1.1/files/patch-sal::osl::unx::process.c
@@ -0,0 +1,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=");