[libreoffice/f15] fix patch
Caolán McNamara
caolanm at fedoraproject.org
Thu Dec 15 16:48:59 UTC 2011
commit e73d2b3e960d7a5ec002a7c2f6c829e6bf12ba4c
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Dec 15 16:48:58 2011 +0000
fix patch
...bz-767708-avoid-SIGBUS-writing-to-overcom.patch | 10 +---------
1 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/0001-Resolves-rhbz-767708-avoid-SIGBUS-writing-to-overcom.patch b/0001-Resolves-rhbz-767708-avoid-SIGBUS-writing-to-overcom.patch
index 1b611e6..f1b846e 100644
--- a/0001-Resolves-rhbz-767708-avoid-SIGBUS-writing-to-overcom.patch
+++ b/0001-Resolves-rhbz-767708-avoid-SIGBUS-writing-to-overcom.patch
@@ -12,14 +12,6 @@ diff --git a/bridges/source/cpp_uno/shared/vtablefactory.cxx b/bridges/source/cp
index 2703ac0..b049c7f 100644
--- a/bridges/source/cpp_uno/shared/vtablefactory.cxx
+++ b/bridges/source/cpp_uno/shared/vtablefactory.cxx
-@@ -40,6 +40,7 @@
- #include "osl/mutex.hxx"
- #include "rtl/alloc.h"
- #include "rtl/ustring.hxx"
-+#include "sal/log.hxx"
- #include "sal/types.h"
- #include "typelib/typedescription.hxx"
-
@@ -65,6 +66,10 @@
#error Unsupported platform
#endif
@@ -40,7 +32,7 @@ index 2703ac0..b049c7f 100644
+ if (err != 0)
{
- perror("truncation of executable memory area failed");
-+ SAL_WARN("bridges", "posix_fallocate failed with code " << err);
++ fprintf(stderr, "posix_fallocate failed with code %d\n", err);
close(block.fd);
block.fd = -1;
break;
More information about the scm-commits
mailing list