From cbf57a6a648ff4075a3d5b57d0cb8075020915df Mon Sep 17 00:00:00 2001 From: Martin Blapp Date: Sun, 10 Mar 2002 22:26:50 +0000 Subject: A getpwuid_r function is now implemented in patch-sal::osl::unx::system.c --- .../patch-ppsprint::source::printergfx::printerjob.cxx | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 editors/openoffice-3-devel/files/patch-ppsprint::source::printergfx::printerjob.cxx (limited to 'editors/openoffice-3-devel') diff --git a/editors/openoffice-3-devel/files/patch-ppsprint::source::printergfx::printerjob.cxx b/editors/openoffice-3-devel/files/patch-ppsprint::source::printergfx::printerjob.cxx deleted file mode 100644 index 535e12912b8d..000000000000 --- a/editors/openoffice-3-devel/files/patch-ppsprint::source::printergfx::printerjob.cxx +++ /dev/null @@ -1,14 +0,0 @@ ---- ../psprint/source/printergfx/printerjob.cxx.orig Sat Mar 2 22:22:50 2002 -+++ ../psprint/source/printergfx/printerjob.cxx Sat Mar 2 22:22:40 2002 -@@ -282,7 +282,11 @@ - - sal_Bool bSuccess = sal_False; - -+#ifdef FREEBSD -+ if (pPWEntry = getpwuid(getuid()) != NULL) -+#else - if (getpwuid_r(getuid(), &aPWEntry, pPWBuffer, sizeof(pPWBuffer), &pPWEntry) != 0) -+#endif - pPWEntry = NULL; - - if (pPWEntry != NULL && pPWEntry->pw_name != NULL) -- cgit v1.2.3