summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>1999-03-21 23:51:50 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>1999-03-21 23:51:50 +0000
commit9ef7bfdbba182f89a32327334fd42054eb19f54b (patch)
tree05ca6b9b1bc6e0677089c508c845f354a82ffa3f
parented1805b32432f72a684c092af985b414bfcf85e1 (diff)
downloadATCD-9ef7bfdbba182f89a32327334fd42054eb19f54b.tar.gz
Updated comments to better explain why ACE_NTOHL was used.
-rw-r--r--ChangeLog-99b4
-rw-r--r--netsvcs/lib/Server_Logging_Handler_T.cpp6
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog-99b b/ChangeLog-99b
index 592a514a42b..eb2406d6f26 100644
--- a/ChangeLog-99b
+++ b/ChangeLog-99b
@@ -3,6 +3,10 @@ Sun Mar 21 17:42:08 1999 Ossama Othman <othman@cs.wustl.edu>
* netsvcs/lib/Server_Logging_Handler_T.cpp (handle_logging_record):
Use ACE_NTOHL macro instead of system ntohl() to get around bug
in egcs-2.91.6x.
+
+ Using the ACE_NTOHL macro is functionally equivalent to the
+ standard ntohl() system call but it may be more inefficient on
+ some platforms.
Sun Mar 21 16:07:24 1999 Ossama Othman <othman@cs.wustl.edu>
diff --git a/netsvcs/lib/Server_Logging_Handler_T.cpp b/netsvcs/lib/Server_Logging_Handler_T.cpp
index ca44b2f3e59..6982b62fdb6 100644
--- a/netsvcs/lib/Server_Logging_Handler_T.cpp
+++ b/netsvcs/lib/Server_Logging_Handler_T.cpp
@@ -90,7 +90,11 @@ ACE_Server_Logging_Handler_T<ACE_PEER_STREAM_2, COUNTER, ACE_SYNCH_USE, LMR>::ha
{
ACE_Log_Record lp;
- // Need to use ACE_NTOHL to get around bug in egcs 2.91.6x
+ // Use ACE_NTOHL to get around bug in egcs 2.91.6x.
+ //
+ // Using the ACE_NTOHL macro is functionally equivalent to
+ // the standard ntohl() system call but it may be more
+ // inefficient on some platforms.
length = ACE_NTOHL (length);
#if !defined (ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES)