summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgokhale <asgokhale@users.noreply.github.com>1999-07-23 13:05:55 +0000
committergokhale <asgokhale@users.noreply.github.com>1999-07-23 13:05:55 +0000
commit7dd23329c9710de2b8e212a2eeb6bd631a6e6c55 (patch)
tree500ed13c2a07d629ebde0463f7593679241a3c9e
parentdcc370e16963ab8e0a5dd2297d79540a5d246c62 (diff)
downloadATCD-7dd23329c9710de2b8e212a2eeb6bd631a6e6c55.tar.gz
nested_type_name bug fix
-rw-r--r--TAO/ChangeLog-99c9
-rw-r--r--TAO/TAO_IDL/be/be_type.cpp4
2 files changed, 11 insertions, 2 deletions
diff --git a/TAO/ChangeLog-99c b/TAO/ChangeLog-99c
index 839b806eaa5..843df960880 100644
--- a/TAO/ChangeLog-99c
+++ b/TAO/ChangeLog-99c
@@ -1,3 +1,12 @@
+Fri Jul 23 08:53:52 EDT 1999 Aniruddha Gokhale <gokhale@sahyadri.research.bell-labs.com>
+
+ * TAO_IDL/be/be_type.cpp (nested_type_name):
+
+ There was an error in the computation of the string length that we
+ use to do string comparison. This error resulted due to a copy/paste which
+ was causing errors in generated code. This bug report was passed to me by
+ Jeff Parsons. Thanks to ?? <??> for submitting the bug report.
+
Fri Jul 23 02:13:44 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* tao/ORB_Core.cpp (init): Generate a warning message if we see
diff --git a/TAO/TAO_IDL/be/be_type.cpp b/TAO/TAO_IDL/be/be_type.cpp
index 279348d9008..4e1199c3210 100644
--- a/TAO/TAO_IDL/be/be_type.cpp
+++ b/TAO/TAO_IDL/be/be_type.cpp
@@ -241,7 +241,7 @@ be_type::nested_type_name (be_decl *use_scope, const char *suffix, const char *p
}
else
{
- int len = ACE_OS::strlen (def_curr);
+ int len = ACE_OS::strlen (use_curr);
if (len > len_to_match)
len_to_match = len;
}
@@ -280,7 +280,7 @@ be_type::nested_type_name (be_decl *use_scope, const char *suffix, const char *p
}
else
{
- int len = ACE_OS::strlen (def_curr);
+ int len = ACE_OS::strlen (use_curr);
if (len > len_to_match)
len_to_match = len;
}