diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-08-01 20:48:52 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-08-01 20:48:52 +0000 |
commit | 92eb309c49f5f1371f685fe3efca2c86d81c72df (patch) | |
tree | 90145258521101b7f89535751232eba865d6cc41 | |
parent | 8b679f88150c4c2eecfdb1f5ae1f5930b5aad8f1 (diff) | |
download | ATCD-92eb309c49f5f1371f685fe3efca2c86d81c72df.tar.gz |
ChangeLogTag:Wed Aug 1 15:00:21 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ChangeLogs/ChangeLog-02a | 6 | ||||
-rw-r--r-- | ChangeLogs/ChangeLog-03a | 6 | ||||
-rw-r--r-- | THANKS | 4 | ||||
-rw-r--r-- | ace/Log_Record.cpp | 4 | ||||
-rw-r--r-- | ace/Log_Record.h | 5 | ||||
-rw-r--r-- | ace/Log_Record.i | 7 |
7 files changed, 33 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog index 3325830769a..9f4330e01c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Wed Aug 1 15:00:21 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu> + + * ace/Log_Record.{h,i}: Changed msg_data_len() from a "setter" + to a "getter" method, which makes more sense. Thanks to Patrick + Rabau <Patrick.Rabau@htc.com> for reporting this. + Wed Aug 1 12:43:57 2001 Ossama Othman <ossama@uci.edu> * ace/Svc_Conf_l.cpp: diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a index 3325830769a..9f4330e01c7 100644 --- a/ChangeLogs/ChangeLog-02a +++ b/ChangeLogs/ChangeLog-02a @@ -1,3 +1,9 @@ +Wed Aug 1 15:00:21 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu> + + * ace/Log_Record.{h,i}: Changed msg_data_len() from a "setter" + to a "getter" method, which makes more sense. Thanks to Patrick + Rabau <Patrick.Rabau@htc.com> for reporting this. + Wed Aug 1 12:43:57 2001 Ossama Othman <ossama@uci.edu> * ace/Svc_Conf_l.cpp: diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a index 3325830769a..9f4330e01c7 100644 --- a/ChangeLogs/ChangeLog-03a +++ b/ChangeLogs/ChangeLog-03a @@ -1,3 +1,9 @@ +Wed Aug 1 15:00:21 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu> + + * ace/Log_Record.{h,i}: Changed msg_data_len() from a "setter" + to a "getter" method, which makes more sense. Thanks to Patrick + Rabau <Patrick.Rabau@htc.com> for reporting this. + Wed Aug 1 12:43:57 2001 Ossama Othman <ossama@uci.edu> * ace/Svc_Conf_l.cpp: @@ -714,7 +714,7 @@ David McCann <david.mccann@alcatel.at> Ruediger Franke <Ruediger.Franke@decrc.abb.de> Brian Jones <bjones@edgemail.com> Michael Garvin <mgarvin@nortelnetworks.com> -Mike Vitalo <mvitalo@infoglide.com> +Mike Vitalo <mvitalo@sprynet.com> Kirk Davies <Kirk.Davies@pobox.com> Arno Pernozzoli <pernozzoli@bigfoot.com> Trey Grubbs <t-grubbs1@raytheon.com> @@ -1300,10 +1300,10 @@ Egon Wuchner <Egon.Wuchner@mchp.siemens.de> Ugendreshwar Kudupudi <ugenderk@rediffmail.com> Ekkehard Hoffmann <ehoffman@fzi.de> Ted Krovetz <ted@digitalfountain.com> -Mike Vitalo <mvitalo@sprynet.com> Grzegorz Sikora <GSikora1@era.pl> Fabris <fabris65@my-deja.com> Christina Junru <junruli@lucent.com> +Patrick Rabau <Patrick.Rabau@htc.com> I would particularly like to thank Paul Stephenson, who worked with me at Ericsson in the early 1990's. Paul devised the recursive Makefile diff --git a/ace/Log_Record.cpp b/ace/Log_Record.cpp index ea142d6dfd6..86db48cba68 100644 --- a/ace/Log_Record.cpp +++ b/ace/Log_Record.cpp @@ -106,7 +106,9 @@ void ACE_Log_Record::msg_data (const ACE_TCHAR *data) { // ACE_TRACE ("ACE_Log_Record::msg_data"); - ACE_OS::strncpy (this->msg_data_, data, ACE_Log_Record::MAXLOGMSGLEN); + ACE_OS::strncpy (this->msg_data_, + data, + ACE_Log_Record::MAXLOGMSGLEN); this->round_up (); } diff --git a/ace/Log_Record.h b/ace/Log_Record.h index 89e3ddc1a0d..3cce345479c 100644 --- a/ace/Log_Record.h +++ b/ace/Log_Record.h @@ -155,8 +155,9 @@ public: /// Set the message data of the <Log_Record>. void msg_data (const ACE_TCHAR *data); - /// Set the size of the message data of the <Log_Record>. - void msg_data_len (size_t len); + /// Get the size of the message data of the <Log_Record>, including + /// a byte for the NUL. + size_t msg_data_len (void) const; /// Dump the state of an object. void dump (void) const; diff --git a/ace/Log_Record.i b/ace/Log_Record.i index 234cc4a46ed..48280b9644a 100644 --- a/ace/Log_Record.i +++ b/ace/Log_Record.i @@ -98,3 +98,10 @@ ACE_Log_Record::msg_data (void) ACE_TRACE ("ACE_Log_Record::msg_data"); return this->msg_data_; } + +ASYS_INLINE size_t +ACE_Log_Record::msg_data_len (void) const +{ + ACE_TRACE ("ACE_Log_Record::msg_data_len"); + return ACE_OS::strlen (this->msg_data_) + 1; +} |