summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2007-03-19 15:21:54 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2007-03-19 15:21:54 +0000
commit34544540ebe4b7778691ba7ef35a4ddcd16e9d5a (patch)
tree131bb7f21016d6b5e12376835556e7bc90becc9d
parent0628ae415511c024e3f81d78439567da1ab7accc (diff)
downloadATCD-34544540ebe4b7778691ba7ef35a4ddcd16e9d5a.tar.gz
ChangeLogTag: Mon Mar 19 16:21:11 UTC 2007 Chad Elliott <elliott_c@ociweb.com>
-rw-r--r--TAO/ChangeLog8
-rw-r--r--TAO/orbsvcs/orbsvcs/Naming/Flat_File_Persistence.cpp1
2 files changed, 9 insertions, 0 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index 06ea9b6b405..a25207de9cc 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,11 @@
+Mon Mar 19 16:21:11 UTC 2007 Chad Elliott <elliott_c@ociweb.com>
+
+ * orbsvcs/orbsvcs/Naming/Flat_File_Persistence.cpp:
+
+ Added the code to set the null terminator on the "kind" read from
+ the persistence file. It was accidentally removed in the Thu Mar
+ 9 00:08:52 UTC 2007 commit.
+
Thu Mar 15 14:19:57 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
* orbsvcs/tests/Bug_2800_Regression/NamingTask.cpp:
diff --git a/TAO/orbsvcs/orbsvcs/Naming/Flat_File_Persistence.cpp b/TAO/orbsvcs/orbsvcs/Naming/Flat_File_Persistence.cpp
index fcf6fdacbaf..14a0b230c3e 100644
--- a/TAO/orbsvcs/orbsvcs/Naming/Flat_File_Persistence.cpp
+++ b/TAO/orbsvcs/orbsvcs/Naming/Flat_File_Persistence.cpp
@@ -298,6 +298,7 @@ TAO_NS_FlatFileStream::operator >>(TAO_NS_Persistence_Record &record)
this->setstate (badbit);
return *this;
}
+ the_kind[bufSize] = '\0';
record.kind (ACE_CString (the_kind.get (), 0, false));
}