From 26ee6b69cd419d7b577364f4323215749663ef53 Mon Sep 17 00:00:00 2001 From: parsons Date: Wed, 17 Nov 2004 16:15:22 +0000 Subject: ChangeLogTag: Wed Nov 17 10:08:41 2004 Jeff Parsons --- TAO/ChangeLog | 11 +++++++++++ TAO/tao/Any_Special_Impl_T.cpp | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/TAO/ChangeLog b/TAO/ChangeLog index 0b09c9c727f..e08c2782120 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,14 @@ +Wed Nov 17 10:08:41 2004 Jeff Parsons + + * tao/Any_Special_Impl_T.cpp (insert): + + Fixed cut and paste error that made the typecode buffer + created for bounded (w)strings static, thereby using only + the bound passed in on the initial creation for every + subsequent one. Thanks to Jiang Wei + for reporting the bug, and to Torsten Kuepper for spotting + the source of the problem. This fix closes [BUGID:1975]. + Tue Nov 16 14:05:33 2004 Balachandran Natarajan * tao/ORB_Core.cpp (run): diff --git a/TAO/tao/Any_Special_Impl_T.cpp b/TAO/tao/Any_Special_Impl_T.cpp index 0255682cc26..181ce7aed94 100644 --- a/TAO/tao/Any_Special_Impl_T.cpp +++ b/TAO/tao/Any_Special_Impl_T.cpp @@ -52,7 +52,7 @@ TAO::Any_Special_Impl_T::insert (CORBA::Any & any, if (bound > 0) { CORBA::TCKind kind = static_cast (tc->kind_); - static CORBA::Long _oc_buffer [] = + CORBA::Long _oc_buffer [] = { TAO_ENCAP_BYTE_ORDER, static_cast (bound) -- cgit v1.2.1