summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-02-03 22:15:40 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-02-03 22:15:40 +0000
commitf2907fdfd4dcd2972984032381411c66c1ac0c8b (patch)
tree0c9ca2400058629dba5dc5851618577524a31180
parent4f07d192b4150fe454dedb0aea293ffdf4b3cf94 (diff)
downloadATCD-f2907fdfd4dcd2972984032381411c66c1ac0c8b.tar.gz
ChangeLogTag: Mon Feb 3 16:14:27 2003 Jeff Parsons <j.parsons@vanderbilt.edu>
-rw-r--r--TAO/ChangeLog6
-rw-r--r--TAO/tao/TypeCodeFactory/TypeCodeFactory_i.cpp7
2 files changed, 11 insertions, 2 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index fbc767f8ce9..c6f01f79267 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,9 @@
+Mon Feb 3 16:14:27 2003 Jeff Parsons <j.parsons@vanderbilt.edu>
+
+ * tao/TypeCodeFactory/TypeCodeFactory_i.cpp (create_recursive_tc):
+
+ Added comments and cosmetic changes.
+
Mon Feb 3 11:30:31 2003 Jeff Parsons <j.parsons@vanderbilt.edu>
* tao/TypeCodeFactory/TypeCodeFactory_i.cpp (create_recursive_tc):
diff --git a/TAO/tao/TypeCodeFactory/TypeCodeFactory_i.cpp b/TAO/tao/TypeCodeFactory/TypeCodeFactory_i.cpp
index f28da4c35db..4f5bc2b13bd 100644
--- a/TAO/tao/TypeCodeFactory/TypeCodeFactory_i.cpp
+++ b/TAO/tao/TypeCodeFactory/TypeCodeFactory_i.cpp
@@ -564,9 +564,12 @@ TAO_TypeCodeFactory_i::create_recursive_tc (
TAO_OutputCDR cdr;
- // To be updated later with the actual offset value.
- cdr << (long) 12345;
+ // Negative offset value, updated later with the actual value.
+ cdr << 0xffffffff;
+ // In an embedded recursive typecode, the indirection
+ // value -1 goes where the TCKind would go for any
+ // other embedded typecode.
CORBA::TCKind rec_kind = (CORBA::TCKind) 0xffffffff;
return this->assemble_tc (cdr,