diff options
-rw-r--r-- | ChangeLog-99b | 15 | ||||
-rw-r--r-- | netsvcs/lib/Server_Logging_Handler_T.cpp | 7 |
2 files changed, 8 insertions, 14 deletions
diff --git a/ChangeLog-99b b/ChangeLog-99b index bd9726feacd..6850e9d7650 100644 --- a/ChangeLog-99b +++ b/ChangeLog-99b @@ -1,3 +1,10 @@ +Fri Mar 19 18:05:27 1999 Ossama Othman <othman@cs.wustl.edu> + + * netsvcs/lib/Server_Logging_Handler_T.cpp (handle_logging_record): + Reverted change that was thought to work around egcs compiler bug. + The call to ntohl() within the templates still causes the compiler + to complain. + Fri Mar 19 17:31:57 1999 Carlos O'Ryan <coryan@cs.wustl.edu> * ace/CDR_Stream.cpp: @@ -143,14 +150,6 @@ Thu Mar 18 14:30:04 1999 Nanbor Wang <nanbor@cs.wustl.edu> 5. Thanks to Lan Yaolong <lyaolong@cs.sunysb.edu> for reporting this. -Thu Mar 18 11:53:48 1999 Ossama Othman <othman@cs.wustl.edu> - - * netsvcs/lib/Server_Logging_Handler_T.cpp (handle_logging_record): - Changed the argument of the ntohl() call to be a temporary - variable that had the same value as the original argument. - This is need to get around what is apparently a bug in the - egcs-2.91.63 compiler. - Wed Mar 17 17:23:43 1999 Vishal Kachroo <vishal@merengue.cs.wustl.edu> * ace/OS.i (timezone): Added support for timezone () on CHORUS diff --git a/netsvcs/lib/Server_Logging_Handler_T.cpp b/netsvcs/lib/Server_Logging_Handler_T.cpp index 34bce80e46e..b5f44dbf83f 100644 --- a/netsvcs/lib/Server_Logging_Handler_T.cpp +++ b/netsvcs/lib/Server_Logging_Handler_T.cpp @@ -90,12 +90,7 @@ ACE_Server_Logging_Handler_T<ACE_PEER_STREAM_2, COUNTER, ACE_SYNCH_USE, LMR>::ha { ACE_Log_Record lp; - // This temporary variable is needed to prevent egcs 2.91.63 - // from producing improper code on the ntohl() call. - // (a compiler bug?) - ACE_INT32 temp_length = length; - - length = ntohl (temp_length); + length = ntohl (length); #if !defined (ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES) u_long count = ++this->request_count_; |