pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/thunderbird Don't use false as pointer value.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6dfb7d5d4961
branches:  trunk
changeset: 621630:6dfb7d5d4961
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Jul 13 19:33:19 2013 +0000

description:
Don't use false as pointer value.

diffstat:

 mail/thunderbird/distinfo                                                   |   7 +++-
 mail/thunderbird/patches/patch-ipc_chromium_src_base_file__util__posix.cc   |  13 ++++++++-
 mail/thunderbird/patches/patch-mailnews_base_search_src_nsMsgSearchTerm.cpp |  13 ++++++++++
 mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_file__util.cc  |  13 ++++++++++
 mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_pickle.cc      |  13 ++++++++++
 5 files changed, 55 insertions(+), 4 deletions(-)

diffs (112 lines):

diff -r f5d385fd1d90 -r 6dfb7d5d4961 mail/thunderbird/distinfo
--- a/mail/thunderbird/distinfo Sat Jul 13 19:23:36 2013 +0000
+++ b/mail/thunderbird/distinfo Sat Jul 13 19:33:19 2013 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.124 2013/07/09 21:25:24 wiz Exp $
+$NetBSD: distinfo,v 1.125 2013/07/13 19:33:19 joerg Exp $
 
 SHA1 (enigmail-1.4.5.tar.gz) = 16d0450a9f5fb4de0e9cc5b9f8091dce4b070aaf
 RMD160 (enigmail-1.4.5.tar.gz) = 860a1ca813fd2ccae69ac0afe07affd39611e56a
@@ -39,7 +39,7 @@
 SHA1 (patch-config_baseconfig.mk) = f5494ace3f5947715cf6918b7d3e19c25fa26bf8
 SHA1 (patch-directory_c-sdk_ldap_include_portable.h) = a6d40c6b92aee607fb4f18d5a7c97b3d7833c74a
 SHA1 (patch-ipc_chromium_src_base_debug__util__posic.cc) = 84e3588ede7c1c0a03b23e5aa054e0c1ab2cfe27
-SHA1 (patch-ipc_chromium_src_base_file__util__posix.cc) = 5f792d717f6373270dbee4aa9dbe278cc12d5f92
+SHA1 (patch-ipc_chromium_src_base_file__util__posix.cc) = 0cdd5aea37d40ab7731e23a1c6ca1f8d55976d88
 SHA1 (patch-ipc_chromium_src_base_platform__thread__posix.cc) = 882b0987defaed4475317b8c500d3dffeb9d0866
 SHA1 (patch-ipc_chromium_src_base_sys__info__posix.cc) = 1207a1e779ea0d48cb41f6a98edbe22f187b309b
 SHA1 (patch-ipc_chromium_src_build_build__config.h) = 9f38c64f080464c33c94cc6898365cee7aa2fec7
@@ -47,6 +47,7 @@
 SHA1 (patch-ipc_glue_GeckoChildProcessHost.cpp) = eac8b51b30b39bbb97da2e97c525fbbec7d98865
 SHA1 (patch-js_src_jscpucfg.h) = 493889df7e21be8a6b5d5b3854b908da70552de8
 SHA1 (patch-ldap_sdks_c-sdk_build.mk) = 171d81697d136abb6e02cb81445cd88fd8580de2
+SHA1 (patch-mailnews_base_search_src_nsMsgSearchTerm.cpp) = 7ec5d09a1e329a3a7c13e6bbf654b591a4d65422
 SHA1 (patch-mb) = 36ddeba4276196109b5a72b77a2143dada92df34
 SHA1 (patch-md) = ccb29b96c105b6c63d3c85967bed56840b974cf4
 SHA1 (patch-me) = 17b108eb9f0ec40ab34aa58f511a5c1ee6a3a127
@@ -74,7 +75,9 @@
 SHA1 (patch-mozilla_ipc_chromium_src_base_base__paths.h) = 1550fd2f3961ded7a17e821208d1bfe6f549e6ac
 SHA1 (patch-mozilla_ipc_chromium_src_base_dir__reader__bsd.h) = 1a7779a9fd682739caeb7219548f5d2d479fc302
 SHA1 (patch-mozilla_ipc_chromium_src_base_dir__reader__posix.h) = 0c95e25bc77d775c37be342087c5e6591c90de8d
+SHA1 (patch-mozilla_ipc_chromium_src_base_file__util.cc) = bbd90990ef3fa03a8106c183173bdb4e438bf655
 SHA1 (patch-mozilla_ipc_chromium_src_base_message__loop.cc) = c8b5440d8886c97a54a759cad49cb129304a29de
+SHA1 (patch-mozilla_ipc_chromium_src_base_pickle.cc) = a2f0a38443f4b0273f8863543f8323719d10f429
 SHA1 (patch-mozilla_ipc_chromium_src_base_platform__thread.h) = b39c8cfa98fcf0c78e63b234c705f6efce9577d8
 SHA1 (patch-mozilla_ipc_chromium_src_base_process__util.h) = f73dd24bcde49fdafe0495589efc81a96ccb3b5f
 SHA1 (patch-mozilla_ipc_chromium_src_base_process__util__bsd.cc) = 25d4903bcf815e2da30902b18330cb3803e48cc6
diff -r f5d385fd1d90 -r 6dfb7d5d4961 mail/thunderbird/patches/patch-ipc_chromium_src_base_file__util__posix.cc
--- a/mail/thunderbird/patches/patch-ipc_chromium_src_base_file__util__posix.cc Sat Jul 13 19:23:36 2013 +0000
+++ b/mail/thunderbird/patches/patch-ipc_chromium_src_base_file__util__posix.cc Sat Jul 13 19:33:19 2013 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ipc_chromium_src_base_file__util__posix.cc,v 1.5 2012/11/23 07:17:54 ryoon Exp $
+$NetBSD: patch-ipc_chromium_src_base_file__util__posix.cc,v 1.6 2013/07/13 19:33:19 joerg Exp $
 
---- mozilla/ipc/chromium/src/base/file_util_posix.cc.orig      2012-11-19 22:42:22.000000000 +0000
+--- mozilla/ipc/chromium/src/base/file_util_posix.cc.orig      2013-06-20 16:39:04.000000000 +0000
 +++ mozilla/ipc/chromium/src/base/file_util_posix.cc
 @@ -33,7 +33,7 @@
  #include "base/time.h"
@@ -11,3 +11,12 @@
  #define stat64 stat
  #endif
  
+@@ -392,7 +392,7 @@ bool CreateTemporaryFileName(FilePath* p
+ FILE* CreateAndOpenTemporaryShmemFile(FilePath* path) {
+   FilePath directory;
+   if (!GetShmemTempDir(&directory))
+-    return false;
++    return NULL;
+ 
+   return CreateAndOpenTemporaryFileInDir(directory, path);
+ }
diff -r f5d385fd1d90 -r 6dfb7d5d4961 mail/thunderbird/patches/patch-mailnews_base_search_src_nsMsgSearchTerm.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/thunderbird/patches/patch-mailnews_base_search_src_nsMsgSearchTerm.cpp       Sat Jul 13 19:33:19 2013 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-mailnews_base_search_src_nsMsgSearchTerm.cpp,v 1.1 2013/07/13 19:33:19 joerg Exp $
+
+--- mailnews/base/search/src/nsMsgSearchTerm.cpp.orig  2013-07-12 15:29:22.000000000 +0000
++++ mailnews/base/search/src/nsMsgSearchTerm.cpp
+@@ -197,7 +197,7 @@ nsresult NS_MsgGetStringForAttribute(int
+     }
+   }
+   if (!found)
+-    *string = '\0'; // don't leave the string uninitialized
++    *string = NULL; // don't leave the string uninitialized
+ 
+   // we no longer return invalid attribute. If we cannot find the string in the table,
+   // then it is an arbitrary header. Return success regardless if found or not
diff -r f5d385fd1d90 -r 6dfb7d5d4961 mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_file__util.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_file__util.cc        Sat Jul 13 19:33:19 2013 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-mozilla_ipc_chromium_src_base_file__util.cc,v 1.1 2013/07/13 19:33:19 joerg Exp $
+
+--- mozilla/ipc/chromium/src/base/file_util.cc.orig    2013-07-12 14:40:54.000000000 +0000
++++ mozilla/ipc/chromium/src/base/file_util.cc
+@@ -194,7 +194,7 @@ bool ReadFileToString(const FilePath& pa
+ FILE* CreateAndOpenTemporaryFile(FilePath* path) {
+   FilePath directory;
+   if (!GetTempDir(&directory))
+-    return false;
++    return NULL;
+ 
+   return CreateAndOpenTemporaryFileInDir(directory, path);
+ }
diff -r f5d385fd1d90 -r 6dfb7d5d4961 mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_pickle.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_pickle.cc    Sat Jul 13 19:33:19 2013 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-mozilla_ipc_chromium_src_base_pickle.cc,v 1.1 2013/07/13 19:33:19 joerg Exp $
+
+--- mozilla/ipc/chromium/src/base/pickle.cc.orig       2013-07-12 14:44:01.000000000 +0000
++++ mozilla/ipc/chromium/src/base/pickle.cc
+@@ -492,7 +492,7 @@ char* Pickle::BeginWriteData(int length)
+     "There can only be one variable buffer in a Pickle";
+ 
+   if (!WriteInt(length))
+-    return false;
++    return NULL;
+ 
+   char *data_ptr = BeginWrite(length, sizeof(uint32));
+   if (!data_ptr)



Home | Main Index | Thread Index | Old Index