From 62bf47721320f7f81034b200fe9f2a0200341caa Mon Sep 17 00:00:00 2001 From: krish Date: Sat, 20 Nov 1999 00:43:21 +0000 Subject: ChangeLogTag: Fri Nov 19 18:41:25 1999 Krishnakumar Elakkara Pathayapura --- TAO/ChangeLog-99c | 12 +++++++++--- TAO/orbsvcs/orbsvcs/Log/LogRecordStore.cpp | 13 ++++++++++--- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/TAO/ChangeLog-99c b/TAO/ChangeLog-99c index dd660f49891..7f0da3e2b83 100644 --- a/TAO/ChangeLog-99c +++ b/TAO/ChangeLog-99c @@ -1,3 +1,9 @@ +Fri Nov 19 18:41:25 1999 Krishnakumar Elakkara Pathayapura + + * orbsvcs/orbsvcs/Log/LogRecordStore.cpp (log): + Fixed some problems for VxWorks regarding use + of ULongLong. + Fri Nov 19 18:26:06 1999 Jeff Parsons * tao/Invocation.h: @@ -20,14 +26,14 @@ Fri Nov 19 18:26:06 1999 Jeff Parsons octet 'response_flags'. The TAO_GIOP_Oneway_Request now has new members holding the SyncScope value and a reply dispatcher. It will set the 'response_flags' field - according to this SyncScope value. + according to this SyncScope value. Likewise, the server request will read the header field and store the SyncScope value. TAO_Object_Adapter has a new method which returns a reply after the servant has been located, but before it - is dispatched (for SyncScope value SYNC_WITH_SERVER). + is dispatched (for SyncScope value SYNC_WITH_SERVER). Finally, since SyncScope values must be - used (if only to set defaults) whether messaging is + used (if only to set defaults) whether messaging is enabled or not, a TAO:: duplicate set has been put into TAOC.*. diff --git a/TAO/orbsvcs/orbsvcs/Log/LogRecordStore.cpp b/TAO/orbsvcs/orbsvcs/Log/LogRecordStore.cpp index 0222bf11f1a..1d1b824065b 100644 --- a/TAO/orbsvcs/orbsvcs/Log/LogRecordStore.cpp +++ b/TAO/orbsvcs/orbsvcs/Log/LogRecordStore.cpp @@ -82,10 +82,17 @@ LogRecordStore::log (DsLogAdmin::LogRecord &rec) // First, bind the id to the LogRecord in the hash_map if (this->rec_hash_.bind (rec.id, rec) != 0) { - ACE_ERROR_RETURN ((LM_ERROR, - "LogRecordStore (%P|%t):Failed to bind %d in the hash map\n", + #if defined (ACE_LACKS_LONGLONG_T) + ACE_ERROR_RETURN ((LM_ERROR, + "LogRecordStore (%P|%t):Failed to bind %Q in the hash map\n", + ACE_U64_TO_U32(rec.id)), + -1); + #else + ACE_ERROR_RETURN ((LM_ERROR, + "LogRecordStore (%P|%t):Failed to bind %Q in the hash map\n", rec.id), - -1); + -1); + #endif } // Increment the number of records in the log -- cgit v1.2.1