diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-02-10 15:05:23 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-02-10 16:52:35 +0000 |
commit | f57ee84f249b28dd9034664bcb36a66042e1baba (patch) | |
tree | 05187833b4b0ab20b961217e8aab029be1c9526e /dev-libs/Ice-3.7.1/remove-memset.patch | |
parent | Extend mythweb patch to cover count bugs (diff) | |
download | patches-f57ee84f249b28dd9034664bcb36a66042e1baba.tar.bz2 patches-f57ee84f249b28dd9034664bcb36a66042e1baba.tar.xz patches-f57ee84f249b28dd9034664bcb36a66042e1baba.zip |
Move patches not required by latest Ice
Diffstat (limited to 'dev-libs/Ice-3.7.1/remove-memset.patch')
-rw-r--r-- | dev-libs/Ice-3.7.1/remove-memset.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-libs/Ice-3.7.1/remove-memset.patch b/dev-libs/Ice-3.7.1/remove-memset.patch new file mode 100644 index 0000000..c325311 --- /dev/null +++ b/dev-libs/Ice-3.7.1/remove-memset.patch @@ -0,0 +1,34 @@ +From a6a4981616b669432ff7b588179d6e93694d9e3f Mon Sep 17 00:00:00 2001 +From: Jose <jose@zeroc.com> +Date: Mon, 4 Jun 2018 20:46:16 +0000 +Subject: Remove unnecessary memset + +--- + cpp/src/Ice/NetworkProxy.cpp | 2 -- + 1 file changed, 2 deletions(-) + +(limited to 'cpp/src/Ice/NetworkProxy.cpp') + +diff --git a/cpp/src/Ice/NetworkProxy.cpp b/cpp/src/Ice/NetworkProxy.cpp +index c2630b380d..4c974e0465 100644 +--- a/cpp/src/Ice/NetworkProxy.cpp ++++ b/cpp/src/Ice/NetworkProxy.cpp +@@ -81,7 +81,6 @@ private: + SOCKSNetworkProxy::SOCKSNetworkProxy(const string& host, int port) : _host(host), _port(port) + { + assert(!host.empty()); +- memset(&_address, 0, sizeof(_address)); + } + + SOCKSNetworkProxy::SOCKSNetworkProxy(const Address& addr) : _port(0), _address(addr) +@@ -194,7 +193,6 @@ HTTPNetworkProxy::HTTPNetworkProxy(const string& host, int port) : + _host(host), _port(port), _protocol(EnableBoth) + { + assert(!host.empty()); +- memset(&_address, 0, sizeof(_address)); + } + + HTTPNetworkProxy::HTTPNetworkProxy(const Address& addr, ProtocolSupport protocol) : +-- +cgit v1.2.1 + |