diff options
author | Martin Blapp <mbr@FreeBSD.org> | 2002-10-19 12:52:27 +0000 |
---|---|---|
committer | Martin Blapp <mbr@FreeBSD.org> | 2002-10-19 12:52:27 +0000 |
commit | 06686f402fe023a6005d71fea0ef0e8a80faca69 (patch) | |
tree | 576fb5c2a49dfae1ad0b850aed26bd716f82a7b2 /editors | |
parent | Patch is not needed anymore. (diff) |
FreeBSD has still no getpwuid_r()
Notes
Notes:
svn path=/head/; revision=68339
Diffstat (limited to 'editors')
17 files changed, 255 insertions, 0 deletions
diff --git a/editors/openoffice-1.1-devel/files/patch-psprint::source::printergfx::printerjob.cxx b/editors/openoffice-1.1-devel/files/patch-psprint::source::printergfx::printerjob.cxx new file mode 100644 index 000000000000..751ef978850f --- /dev/null +++ b/editors/openoffice-1.1-devel/files/patch-psprint::source::printergfx::printerjob.cxx @@ -0,0 +1,15 @@ +--- ../psprint/source/printergfx/printerjob.cxx.orig Sat Oct 19 14:49:13 2002 ++++ ../psprint/source/printergfx/printerjob.cxx Sat Oct 19 14:49:18 2002 +@@ -285,8 +285,12 @@ + + sal_Bool bSuccess = sal_False; + ++#ifdef FREEBSD ++ pPWEntry = getpwuid( getuid()); ++#else + if (getpwuid_r(getuid(), &aPWEntry, pPWBuffer, sizeof(pPWBuffer), &pPWEntry) != 0) + pPWEntry = NULL; ++#endif + + if (pPWEntry != NULL && pPWEntry->pw_name != NULL) + { diff --git a/editors/openoffice-1.1/files/patch-psprint::source::printergfx::printerjob.cxx b/editors/openoffice-1.1/files/patch-psprint::source::printergfx::printerjob.cxx new file mode 100644 index 000000000000..751ef978850f --- /dev/null +++ b/editors/openoffice-1.1/files/patch-psprint::source::printergfx::printerjob.cxx @@ -0,0 +1,15 @@ +--- ../psprint/source/printergfx/printerjob.cxx.orig Sat Oct 19 14:49:13 2002 ++++ ../psprint/source/printergfx/printerjob.cxx Sat Oct 19 14:49:18 2002 +@@ -285,8 +285,12 @@ + + sal_Bool bSuccess = sal_False; + ++#ifdef FREEBSD ++ pPWEntry = getpwuid( getuid()); ++#else + if (getpwuid_r(getuid(), &aPWEntry, pPWBuffer, sizeof(pPWBuffer), &pPWEntry) != 0) + pPWEntry = NULL; ++#endif + + if (pPWEntry != NULL && pPWEntry->pw_name != NULL) + { diff --git a/editors/openoffice-2.0-devel/files/patch-psprint::source::printergfx::printerjob.cxx b/editors/openoffice-2.0-devel/files/patch-psprint::source::printergfx::printerjob.cxx new file mode 100644 index 000000000000..751ef978850f --- /dev/null +++ b/editors/openoffice-2.0-devel/files/patch-psprint::source::printergfx::printerjob.cxx @@ -0,0 +1,15 @@ +--- ../psprint/source/printergfx/printerjob.cxx.orig Sat Oct 19 14:49:13 2002 ++++ ../psprint/source/printergfx/printerjob.cxx Sat Oct 19 14:49:18 2002 +@@ -285,8 +285,12 @@ + + sal_Bool bSuccess = sal_False; + ++#ifdef FREEBSD ++ pPWEntry = getpwuid( getuid()); ++#else + if (getpwuid_r(getuid(), &aPWEntry, pPWBuffer, sizeof(pPWBuffer), &pPWEntry) != 0) + pPWEntry = NULL; ++#endif + + if (pPWEntry != NULL && pPWEntry->pw_name != NULL) + { diff --git a/editors/openoffice-3-devel/files/patch-psprint::source::printergfx::printerjob.cxx b/editors/openoffice-3-devel/files/patch-psprint::source::printergfx::printerjob.cxx new file mode 100644 index 000000000000..751ef978850f --- /dev/null +++ b/editors/openoffice-3-devel/files/patch-psprint::source::printergfx::printerjob.cxx @@ -0,0 +1,15 @@ +--- ../psprint/source/printergfx/printerjob.cxx.orig Sat Oct 19 14:49:13 2002 ++++ ../psprint/source/printergfx/printerjob.cxx Sat Oct 19 14:49:18 2002 +@@ -285,8 +285,12 @@ + + sal_Bool bSuccess = sal_False; + ++#ifdef FREEBSD ++ pPWEntry = getpwuid( getuid()); ++#else + if (getpwuid_r(getuid(), &aPWEntry, pPWBuffer, sizeof(pPWBuffer), &pPWEntry) != 0) + pPWEntry = NULL; ++#endif + + if (pPWEntry != NULL && pPWEntry->pw_name != NULL) + { diff --git a/editors/openoffice-3/files/patch-psprint::source::printergfx::printerjob.cxx b/editors/openoffice-3/files/patch-psprint::source::printergfx::printerjob.cxx new file mode 100644 index 000000000000..751ef978850f --- /dev/null +++ b/editors/openoffice-3/files/patch-psprint::source::printergfx::printerjob.cxx @@ -0,0 +1,15 @@ +--- ../psprint/source/printergfx/printerjob.cxx.orig Sat Oct 19 14:49:13 2002 ++++ ../psprint/source/printergfx/printerjob.cxx Sat Oct 19 14:49:18 2002 +@@ -285,8 +285,12 @@ + + sal_Bool bSuccess = sal_False; + ++#ifdef FREEBSD ++ pPWEntry = getpwuid( getuid()); ++#else + if (getpwuid_r(getuid(), &aPWEntry, pPWBuffer, sizeof(pPWBuffer), &pPWEntry) != 0) + pPWEntry = NULL; ++#endif + + if (pPWEntry != NULL && pPWEntry->pw_name != NULL) + { diff --git a/editors/openoffice-devel/files/patch-psprint::source::printergfx::printerjob.cxx b/editors/openoffice-devel/files/patch-psprint::source::printergfx::printerjob.cxx new file mode 100644 index 000000000000..751ef978850f --- /dev/null +++ b/editors/openoffice-devel/files/patch-psprint::source::printergfx::printerjob.cxx @@ -0,0 +1,15 @@ +--- ../psprint/source/printergfx/printerjob.cxx.orig Sat Oct 19 14:49:13 2002 ++++ ../psprint/source/printergfx/printerjob.cxx Sat Oct 19 14:49:18 2002 +@@ -285,8 +285,12 @@ + + sal_Bool bSuccess = sal_False; + ++#ifdef FREEBSD ++ pPWEntry = getpwuid( getuid()); ++#else + if (getpwuid_r(getuid(), &aPWEntry, pPWBuffer, sizeof(pPWBuffer), &pPWEntry) != 0) + pPWEntry = NULL; ++#endif + + if (pPWEntry != NULL && pPWEntry->pw_name != NULL) + { diff --git a/editors/openoffice.org-1.1-devel/files/patch-psprint::source::printergfx::printerjob.cxx b/editors/openoffice.org-1.1-devel/files/patch-psprint::source::printergfx::printerjob.cxx new file mode 100644 index 000000000000..751ef978850f --- /dev/null +++ b/editors/openoffice.org-1.1-devel/files/patch-psprint::source::printergfx::printerjob.cxx @@ -0,0 +1,15 @@ +--- ../psprint/source/printergfx/printerjob.cxx.orig Sat Oct 19 14:49:13 2002 ++++ ../psprint/source/printergfx/printerjob.cxx Sat Oct 19 14:49:18 2002 +@@ -285,8 +285,12 @@ + + sal_Bool bSuccess = sal_False; + ++#ifdef FREEBSD ++ pPWEntry = getpwuid( getuid()); ++#else + if (getpwuid_r(getuid(), &aPWEntry, pPWBuffer, sizeof(pPWBuffer), &pPWEntry) != 0) + pPWEntry = NULL; ++#endif + + if (pPWEntry != NULL && pPWEntry->pw_name != NULL) + { diff --git a/editors/openoffice.org-1.1/files/patch-psprint::source::printergfx::printerjob.cxx b/editors/openoffice.org-1.1/files/patch-psprint::source::printergfx::printerjob.cxx new file mode 100644 index 000000000000..751ef978850f --- /dev/null +++ b/editors/openoffice.org-1.1/files/patch-psprint::source::printergfx::printerjob.cxx @@ -0,0 +1,15 @@ +--- ../psprint/source/printergfx/printerjob.cxx.orig Sat Oct 19 14:49:13 2002 ++++ ../psprint/source/printergfx/printerjob.cxx Sat Oct 19 14:49:18 2002 +@@ -285,8 +285,12 @@ + + sal_Bool bSuccess = sal_False; + ++#ifdef FREEBSD ++ pPWEntry = getpwuid( getuid()); ++#else + if (getpwuid_r(getuid(), &aPWEntry, pPWBuffer, sizeof(pPWBuffer), &pPWEntry) != 0) + pPWEntry = NULL; ++#endif + + if (pPWEntry != NULL && pPWEntry->pw_name != NULL) + { diff --git a/editors/openoffice.org-2-RC/files/patch-psprint::source::printergfx::printerjob.cxx b/editors/openoffice.org-2-RC/files/patch-psprint::source::printergfx::printerjob.cxx new file mode 100644 index 000000000000..751ef978850f --- /dev/null +++ b/editors/openoffice.org-2-RC/files/patch-psprint::source::printergfx::printerjob.cxx @@ -0,0 +1,15 @@ +--- ../psprint/source/printergfx/printerjob.cxx.orig Sat Oct 19 14:49:13 2002 ++++ ../psprint/source/printergfx/printerjob.cxx Sat Oct 19 14:49:18 2002 +@@ -285,8 +285,12 @@ + + sal_Bool bSuccess = sal_False; + ++#ifdef FREEBSD ++ pPWEntry = getpwuid( getuid()); ++#else + if (getpwuid_r(getuid(), &aPWEntry, pPWBuffer, sizeof(pPWBuffer), &pPWEntry) != 0) + pPWEntry = NULL; ++#endif + + if (pPWEntry != NULL && pPWEntry->pw_name != NULL) + { diff --git a/editors/openoffice.org-2-devel/files/patch-psprint::source::printergfx::printerjob.cxx b/editors/openoffice.org-2-devel/files/patch-psprint::source::printergfx::printerjob.cxx new file mode 100644 index 000000000000..751ef978850f --- /dev/null +++ b/editors/openoffice.org-2-devel/files/patch-psprint::source::printergfx::printerjob.cxx @@ -0,0 +1,15 @@ +--- ../psprint/source/printergfx/printerjob.cxx.orig Sat Oct 19 14:49:13 2002 ++++ ../psprint/source/printergfx/printerjob.cxx Sat Oct 19 14:49:18 2002 +@@ -285,8 +285,12 @@ + + sal_Bool bSuccess = sal_False; + ++#ifdef FREEBSD ++ pPWEntry = getpwuid( getuid()); ++#else + if (getpwuid_r(getuid(), &aPWEntry, pPWBuffer, sizeof(pPWBuffer), &pPWEntry) != 0) + pPWEntry = NULL; ++#endif + + if (pPWEntry != NULL && pPWEntry->pw_name != NULL) + { diff --git a/editors/openoffice.org-2.0-devel/files/patch-psprint::source::printergfx::printerjob.cxx b/editors/openoffice.org-2.0-devel/files/patch-psprint::source::printergfx::printerjob.cxx new file mode 100644 index 000000000000..751ef978850f --- /dev/null +++ b/editors/openoffice.org-2.0-devel/files/patch-psprint::source::printergfx::printerjob.cxx @@ -0,0 +1,15 @@ +--- ../psprint/source/printergfx/printerjob.cxx.orig Sat Oct 19 14:49:13 2002 ++++ ../psprint/source/printergfx/printerjob.cxx Sat Oct 19 14:49:18 2002 +@@ -285,8 +285,12 @@ + + sal_Bool bSuccess = sal_False; + ++#ifdef FREEBSD ++ pPWEntry = getpwuid( getuid()); ++#else + if (getpwuid_r(getuid(), &aPWEntry, pPWBuffer, sizeof(pPWBuffer), &pPWEntry) != 0) + pPWEntry = NULL; ++#endif + + if (pPWEntry != NULL && pPWEntry->pw_name != NULL) + { diff --git a/editors/openoffice.org-2.0/files/patch-psprint::source::printergfx::printerjob.cxx b/editors/openoffice.org-2.0/files/patch-psprint::source::printergfx::printerjob.cxx new file mode 100644 index 000000000000..751ef978850f --- /dev/null +++ b/editors/openoffice.org-2.0/files/patch-psprint::source::printergfx::printerjob.cxx @@ -0,0 +1,15 @@ +--- ../psprint/source/printergfx/printerjob.cxx.orig Sat Oct 19 14:49:13 2002 ++++ ../psprint/source/printergfx/printerjob.cxx Sat Oct 19 14:49:18 2002 +@@ -285,8 +285,12 @@ + + sal_Bool bSuccess = sal_False; + ++#ifdef FREEBSD ++ pPWEntry = getpwuid( getuid()); ++#else + if (getpwuid_r(getuid(), &aPWEntry, pPWBuffer, sizeof(pPWBuffer), &pPWEntry) != 0) + pPWEntry = NULL; ++#endif + + if (pPWEntry != NULL && pPWEntry->pw_name != NULL) + { diff --git a/editors/openoffice.org-2/files/patch-psprint::source::printergfx::printerjob.cxx b/editors/openoffice.org-2/files/patch-psprint::source::printergfx::printerjob.cxx new file mode 100644 index 000000000000..751ef978850f --- /dev/null +++ b/editors/openoffice.org-2/files/patch-psprint::source::printergfx::printerjob.cxx @@ -0,0 +1,15 @@ +--- ../psprint/source/printergfx/printerjob.cxx.orig Sat Oct 19 14:49:13 2002 ++++ ../psprint/source/printergfx/printerjob.cxx Sat Oct 19 14:49:18 2002 +@@ -285,8 +285,12 @@ + + sal_Bool bSuccess = sal_False; + ++#ifdef FREEBSD ++ pPWEntry = getpwuid( getuid()); ++#else + if (getpwuid_r(getuid(), &aPWEntry, pPWBuffer, sizeof(pPWBuffer), &pPWEntry) != 0) + pPWEntry = NULL; ++#endif + + if (pPWEntry != NULL && pPWEntry->pw_name != NULL) + { diff --git a/editors/openoffice.org-3-RC/files/patch-psprint::source::printergfx::printerjob.cxx b/editors/openoffice.org-3-RC/files/patch-psprint::source::printergfx::printerjob.cxx new file mode 100644 index 000000000000..751ef978850f --- /dev/null +++ b/editors/openoffice.org-3-RC/files/patch-psprint::source::printergfx::printerjob.cxx @@ -0,0 +1,15 @@ +--- ../psprint/source/printergfx/printerjob.cxx.orig Sat Oct 19 14:49:13 2002 ++++ ../psprint/source/printergfx/printerjob.cxx Sat Oct 19 14:49:18 2002 +@@ -285,8 +285,12 @@ + + sal_Bool bSuccess = sal_False; + ++#ifdef FREEBSD ++ pPWEntry = getpwuid( getuid()); ++#else + if (getpwuid_r(getuid(), &aPWEntry, pPWBuffer, sizeof(pPWBuffer), &pPWEntry) != 0) + pPWEntry = NULL; ++#endif + + if (pPWEntry != NULL && pPWEntry->pw_name != NULL) + { diff --git a/editors/openoffice.org-3-devel/files/patch-psprint::source::printergfx::printerjob.cxx b/editors/openoffice.org-3-devel/files/patch-psprint::source::printergfx::printerjob.cxx new file mode 100644 index 000000000000..751ef978850f --- /dev/null +++ b/editors/openoffice.org-3-devel/files/patch-psprint::source::printergfx::printerjob.cxx @@ -0,0 +1,15 @@ +--- ../psprint/source/printergfx/printerjob.cxx.orig Sat Oct 19 14:49:13 2002 ++++ ../psprint/source/printergfx/printerjob.cxx Sat Oct 19 14:49:18 2002 +@@ -285,8 +285,12 @@ + + sal_Bool bSuccess = sal_False; + ++#ifdef FREEBSD ++ pPWEntry = getpwuid( getuid()); ++#else + if (getpwuid_r(getuid(), &aPWEntry, pPWBuffer, sizeof(pPWBuffer), &pPWEntry) != 0) + pPWEntry = NULL; ++#endif + + if (pPWEntry != NULL && pPWEntry->pw_name != NULL) + { diff --git a/editors/openoffice.org-3/files/patch-psprint::source::printergfx::printerjob.cxx b/editors/openoffice.org-3/files/patch-psprint::source::printergfx::printerjob.cxx new file mode 100644 index 000000000000..751ef978850f --- /dev/null +++ b/editors/openoffice.org-3/files/patch-psprint::source::printergfx::printerjob.cxx @@ -0,0 +1,15 @@ +--- ../psprint/source/printergfx/printerjob.cxx.orig Sat Oct 19 14:49:13 2002 ++++ ../psprint/source/printergfx/printerjob.cxx Sat Oct 19 14:49:18 2002 +@@ -285,8 +285,12 @@ + + sal_Bool bSuccess = sal_False; + ++#ifdef FREEBSD ++ pPWEntry = getpwuid( getuid()); ++#else + if (getpwuid_r(getuid(), &aPWEntry, pPWBuffer, sizeof(pPWBuffer), &pPWEntry) != 0) + pPWEntry = NULL; ++#endif + + if (pPWEntry != NULL && pPWEntry->pw_name != NULL) + { diff --git a/editors/openoffice.org-vcltesttool/files/patch-psprint::source::printergfx::printerjob.cxx b/editors/openoffice.org-vcltesttool/files/patch-psprint::source::printergfx::printerjob.cxx new file mode 100644 index 000000000000..751ef978850f --- /dev/null +++ b/editors/openoffice.org-vcltesttool/files/patch-psprint::source::printergfx::printerjob.cxx @@ -0,0 +1,15 @@ +--- ../psprint/source/printergfx/printerjob.cxx.orig Sat Oct 19 14:49:13 2002 ++++ ../psprint/source/printergfx/printerjob.cxx Sat Oct 19 14:49:18 2002 +@@ -285,8 +285,12 @@ + + sal_Bool bSuccess = sal_False; + ++#ifdef FREEBSD ++ pPWEntry = getpwuid( getuid()); ++#else + if (getpwuid_r(getuid(), &aPWEntry, pPWBuffer, sizeof(pPWBuffer), &pPWEntry) != 0) + pPWEntry = NULL; ++#endif + + if (pPWEntry != NULL && pPWEntry->pw_name != NULL) + { |