From c0bcf00e1bbd6fd33cfeed3b9612b2a5faeb39d1 Mon Sep 17 00:00:00 2001 From: Martin Blapp Date: Sat, 2 Mar 2002 21:41:34 +0000 Subject: Another patchset from Carlos Fernando Assis Paniago --- editors/openoffice.org-3/files/patch-sal::osl::unx::process.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 editors/openoffice.org-3/files/patch-sal::osl::unx::process.c (limited to 'editors/openoffice.org-3/files/patch-sal::osl::unx::process.c') diff --git a/editors/openoffice.org-3/files/patch-sal::osl::unx::process.c b/editors/openoffice.org-3/files/patch-sal::osl::unx::process.c new file mode 100644 index 000000000000..9d7ffa6686d3 --- /dev/null +++ b/editors/openoffice.org-3/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="); -- cgit v1.2.3