summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2001-09-25 23:17:54 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2001-09-25 23:17:54 +0000
commit90daabfba972b01c35708b67ac57b318574985c0 (patch)
tree9ec667527e6ece419c713be99ee11f175eb40606
parent24fe4294fdc0809e6c977741c9646192ec5897ff (diff)
downloadATCD-90daabfba972b01c35708b67ac57b318574985c0.tar.gz
ChangeLogTag:Tue Sep 25 16:12:14 2001 Ossama Othman <ossama@uci.edu>
-rw-r--r--ChangeLog9
-rw-r--r--ChangeLogs/ChangeLog-02a9
-rw-r--r--ChangeLogs/ChangeLog-03a9
-rw-r--r--ace/SSL/SSL_SOCK_Stream.i8
4 files changed, 30 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index c304db7bdb2..3255080eae2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+Tue Sep 25 16:12:14 2001 Ossama Othman <ossama@uci.edu>
+
+ * ace/SSL/SSL_SOCK_Stream.i (recv_i):
+
+ Use ACE_OS::set_errno_to_last_error() set errno instead of doing
+ so manually to get around broken compilers that reset the last
+ error when assigning to errno. Thanks to Chris Kohloff for
+ pointing out the problem and suggesting this fix.
+
Tue Sep 25 13:00:37 2001 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Obstack.h: Fixed a typo when declaring ACE_Obstack
diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a
index c304db7bdb2..3255080eae2 100644
--- a/ChangeLogs/ChangeLog-02a
+++ b/ChangeLogs/ChangeLog-02a
@@ -1,3 +1,12 @@
+Tue Sep 25 16:12:14 2001 Ossama Othman <ossama@uci.edu>
+
+ * ace/SSL/SSL_SOCK_Stream.i (recv_i):
+
+ Use ACE_OS::set_errno_to_last_error() set errno instead of doing
+ so manually to get around broken compilers that reset the last
+ error when assigning to errno. Thanks to Chris Kohloff for
+ pointing out the problem and suggesting this fix.
+
Tue Sep 25 13:00:37 2001 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Obstack.h: Fixed a typo when declaring ACE_Obstack
diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a
index c304db7bdb2..3255080eae2 100644
--- a/ChangeLogs/ChangeLog-03a
+++ b/ChangeLogs/ChangeLog-03a
@@ -1,3 +1,12 @@
+Tue Sep 25 16:12:14 2001 Ossama Othman <ossama@uci.edu>
+
+ * ace/SSL/SSL_SOCK_Stream.i (recv_i):
+
+ Use ACE_OS::set_errno_to_last_error() set errno instead of doing
+ so manually to get around broken compilers that reset the last
+ error when assigning to errno. Thanks to Chris Kohloff for
+ pointing out the problem and suggesting this fix.
+
Tue Sep 25 13:00:37 2001 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Obstack.h: Fixed a typo when declaring ACE_Obstack
diff --git a/ace/SSL/SSL_SOCK_Stream.i b/ace/SSL/SSL_SOCK_Stream.i
index a926dc8c41b..60de757f50a 100644
--- a/ace/SSL/SSL_SOCK_Stream.i
+++ b/ace/SSL/SSL_SOCK_Stream.i
@@ -199,11 +199,9 @@ ACE_SSL_SOCK_Stream::recv_i (void *buf,
// If not an EOF, then fall through to "default" case.
-#ifdef WIN32
- // OpenSSL does not store the last error in errno so
- // explicitly do so.
- errno = ::GetLastError ();
-#endif /* WIN32 */
+ // On some platforms (e.g. MS Windows) OpenSSL does not
+ // store the last error in errno so explicitly do so.
+ ACE_OS::set_errno_to_last_error ();
default:
#ifndef ACE_NDEBUG