diff options
author | Martin Blapp <mbr@FreeBSD.org> | 2002-03-02 21:41:34 +0000 |
---|---|---|
committer | Martin Blapp <mbr@FreeBSD.org> | 2002-03-02 21:41:34 +0000 |
commit | c0bcf00e1bbd6fd33cfeed3b9612b2a5faeb39d1 (patch) | |
tree | 1a9f5e7ad35d941f79ae3e514df10ea9db17811d /editors/openoffice.org-2.0/files/patch-ppsprint::source::printergfx::printerjob.cxx | |
parent | Update 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.org-2.0/files/patch-ppsprint::source::printergfx::printerjob.cxx')
-rw-r--r-- | editors/openoffice.org-2.0/files/patch-ppsprint::source::printergfx::printerjob.cxx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/editors/openoffice.org-2.0/files/patch-ppsprint::source::printergfx::printerjob.cxx b/editors/openoffice.org-2.0/files/patch-ppsprint::source::printergfx::printerjob.cxx new file mode 100644 index 000000000000..535e12912b8d --- /dev/null +++ b/editors/openoffice.org-2.0/files/patch-ppsprint::source::printergfx::printerjob.cxx @@ -0,0 +1,14 @@ +--- ../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) |