diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-23 01:56:19 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-23 01:56:19 +0000 |
commit | 59428770de56b443055fc0127b710f044ab4247d (patch) | |
tree | 118a12f8b859b6e22d994e13b8c4969a40bcb8a6 | |
parent | 645a2d2afc46991316da3a84762bd67127c5f018 (diff) | |
download | ATCD-59428770de56b443055fc0127b710f044ab4247d.tar.gz |
*** empty log message ***
-rw-r--r-- | ChangeLog-99b | 8 | ||||
-rw-r--r-- | ace/CDR_Stream.i | 4 |
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog-99b b/ChangeLog-99b index e5587b4ec1c..36198ecfcaa 100644 --- a/ChangeLog-99b +++ b/ChangeLog-99b @@ -1,3 +1,11 @@ +Thu Apr 22 20:50:30 1999 Jeff Parsons <parsons@cs.wustl.edu> + + * ace/CDR_Stream.i: + Modified reset() to reset all the message blocks, instead of + just the first one as it had previously done. Thanks to + Jerry D. De Master <jdemaste@ipdinc.com> for pointing out + the problem and suggesting a fix. + Thu Apr 22 19:40:52 1999 Steve Huston <shuston@riverace.com> * ace/OS.h: Adjust exception thrown at out-of-memory for HP-UX, aC++. diff --git a/ace/CDR_Stream.i b/ace/CDR_Stream.i index 811bf84d670..e7deb9422f2 100644 --- a/ace/CDR_Stream.i +++ b/ace/CDR_Stream.i @@ -157,7 +157,9 @@ ACE_INLINE void ACE_OutputCDR::reset (void) { this->current_ = &this->start_; - ACE_CDR::mb_align (&this->start_); + + for (ACE_Message_Block *i = &this->start_; i; i = i->cont()) + ACE_CDR::mb_align (i); } // Decode the CDR stream. |