summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2001-12-07 18:07:53 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2001-12-07 18:07:53 +0000
commitec61a4d86b40e340ba49d651b57512783df96bae (patch)
treebe46e85ac81e20d49ae4cf43f387f5aed4d29c77
parent9e9121492be77eb71355d73a1d681e59c10e10da (diff)
downloadATCD-ec61a4d86b40e340ba49d651b57512783df96bae.tar.gz
ChangeLogTag: Fri Dec 7 12:05:49 2001 Chad Elliott <elliott_c@ociweb.com>
-rw-r--r--TAO/ChangeLogs/ChangeLog-02a6
-rw-r--r--TAO/orbsvcs/orbsvcs/Naming/Naming_Context_Interface.cpp4
2 files changed, 7 insertions, 3 deletions
diff --git a/TAO/ChangeLogs/ChangeLog-02a b/TAO/ChangeLogs/ChangeLog-02a
index 44ac705a6d7..842dd14c390 100644
--- a/TAO/ChangeLogs/ChangeLog-02a
+++ b/TAO/ChangeLogs/ChangeLog-02a
@@ -1,3 +1,9 @@
+Fri Dec 7 12:05:49 2001 Chad Elliott <elliott_c@ociweb.com>
+
+ * orbsvcs/orbsvcs/Naming/Naming_Context_Interface.cpp:
+
+ Correct a bug in determing string length with strings that contain
+ a back slash. This was causing a problem on QNX, but not Solaris.
Fri Dec 7 09:00:00 2001 Venkita Subramonian <venkita@cs.wustl.edu>
diff --git a/TAO/orbsvcs/orbsvcs/Naming/Naming_Context_Interface.cpp b/TAO/orbsvcs/orbsvcs/Naming/Naming_Context_Interface.cpp
index 5d48f141490..a673ba3c6b2 100644
--- a/TAO/orbsvcs/orbsvcs/Naming/Naming_Context_Interface.cpp
+++ b/TAO/orbsvcs/orbsvcs/Naming/Naming_Context_Interface.cpp
@@ -309,11 +309,9 @@ TAO_Naming_Context::to_name (const char *sn,
{
ncomp++;
}
-
- if (*j == '\\')
+ else if (*j == '\\')
{
++j;
- --len;
if (*j == '\0')
{