summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-11-17 16:15:22 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-11-17 16:15:22 +0000
commit26ee6b69cd419d7b577364f4323215749663ef53 (patch)
treec332e610e5ebbb7915d353c3d72a9e0cac901896
parentf557331bec53ba9d87d9d60e741388140806c669 (diff)
downloadATCD-26ee6b69cd419d7b577364f4323215749663ef53.tar.gz
ChangeLogTag: Wed Nov 17 10:08:41 2004 Jeff Parsons <j.parsons@vanderbilt.edu>
-rw-r--r--TAO/ChangeLog11
-rw-r--r--TAO/tao/Any_Special_Impl_T.cpp2
2 files changed, 12 insertions, 1 deletions
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 <j.parsons@vanderbilt.edu>
+
+ * 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 <jiangwei_1976@yahoo.com.cn>
+ 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 <bala@dre.vanderbilt.edu>
* 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<T, from_T, to_T>::insert (CORBA::Any & any,
if (bound > 0)
{
CORBA::TCKind kind = static_cast<CORBA::TCKind> (tc->kind_);
- static CORBA::Long _oc_buffer [] =
+ CORBA::Long _oc_buffer [] =
{
TAO_ENCAP_BYTE_ORDER,
static_cast<CORBA::Long> (bound)