Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Major changes: * Fix buffer underrun * Add -b option to bind to an address to bhm * Improve build Port changes: * Update MASTER_SITE and WWW
- Loading branch information
Showing
7 changed files
with
25 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
SHA256 (postal-0.73.tgz) = 25cc208f5a86d393707164d33a8dfb6ca5b9f586d0d401d549fc15179b766030 | ||
SIZE (postal-0.73.tgz) = 106171 | ||
TIMESTAMP = 1694465477 | ||
SHA256 (postal-0.76.tgz) = 0cc13df48d7e3355289088fbe9ce01fb80ba16fca309d54918c36223b84bf0df | ||
SIZE (postal-0.76.tgz) = 100260 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,20 @@ | ||
--- bhmusers.h.orig 2006-09-28 15:20:28 UTC | ||
--- bhmusers.h.orig 2016-06-30 08:57:25 UTC | ||
+++ bhmusers.h | ||
@@ -6,12 +6,16 @@ using namespace std; | ||
@@ -6,7 +6,7 @@ | ||
#include <string> | ||
#include "conf.h" | ||
|
||
+#if defined(_LIBCPP_VERSION) | ||
-#include <tr1/unordered_map> | ||
+#include <unordered_map> | ||
+#else | ||
#ifdef HAVE_EXT_HASH_MAP | ||
using namespace __gnu_cxx; | ||
#include <ext/hash_map> | ||
#else | ||
#include <hash_map.h> | ||
#endif | ||
+#endif | ||
|
||
#include "postal.h" | ||
|
||
@@ -23,7 +27,12 @@ typedef struct | ||
@@ -18,7 +18,7 @@ | ||
int sync_time; | ||
} BHM_DATA; | ||
|
||
+ | ||
+#if defined(_LIBCPP_VERSION) | ||
+namespace std | ||
+#else | ||
namespace __gnu_cxx | ||
+#endif | ||
{ | ||
template<> struct hash< std::string > | ||
{ | ||
@@ -34,7 +43,11 @@ namespace __gnu_cxx | ||
}; | ||
} | ||
|
||
+#if defined(_LIBCPP_VERSION) | ||
+typedef std::unordered_map<string, BHM_DATA , hash<string> > NAME_MAP; | ||
+#else | ||
typedef hash_map<string, BHM_DATA , hash<string> > NAME_MAP; | ||
+#endif | ||
-typedef std::tr1::unordered_map<string, BHM_DATA, hash<string> > NAME_MAP; | ||
+typedef std::unordered_map<string, BHM_DATA, hash<string> > NAME_MAP; | ||
|
||
class BHMUsers | ||
{ |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,20 @@ | ||
--- smtp.h.orig 2012-01-14 12:36:56 UTC | ||
--- smtp.h.orig 2016-06-30 08:51:27 UTC | ||
+++ smtp.h | ||
@@ -4,14 +4,18 @@ | ||
using namespace std; | ||
#include <string> | ||
@@ -6,7 +6,7 @@ | ||
#include <cstring> | ||
-#include <time.h> | ||
+#include <ctime> | ||
#include <time.h> | ||
#include "conf.h" | ||
+#if defined(_LIBCPP_VERSION) | ||
-#include <tr1/unordered_map> | ||
+#include <unordered_map> | ||
+#else | ||
#ifdef HAVE_EXT_HASH_MAP | ||
using namespace __gnu_cxx; | ||
#include <ext/hash_map> | ||
#else | ||
#include <hash_map.h> | ||
#endif | ||
+#endif | ||
#include "tcp.h" | ||
#include "mutex.h" | ||
|
||
@@ -30,7 +34,11 @@ struct eqlng | ||
@@ -25,7 +25,7 @@ | ||
} | ||
}; | ||
|
||
+#if defined(_LIBCPP_VERSION) | ||
-typedef std::tr1::unordered_map<unsigned long, string *, hash<unsigned long>, eqlng> NAME_MAP; | ||
+typedef std::unordered_map<unsigned long, string *, hash<unsigned long>, eqlng> NAME_MAP; | ||
+#else | ||
typedef hash_map<unsigned long, string *, hash<unsigned long>, eqlng> NAME_MAP; | ||
+#endif | ||
|
||
class smtpData | ||
{ |