summaryrefslogtreecommitdiff
path: root/ACE
diff options
context:
space:
mode:
authorvzykov <vzykov@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2010-06-23 14:19:07 +0000
committervzykov <vzykov@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2010-06-23 14:19:07 +0000
commitbcfccc4ac41bf8387b70c5d01405454ec7955d58 (patch)
tree50b5c0f6820e3514d70f9a184839d28d177d2649 /ACE
parent11bb94bf95d6496d2d71e37d8c12bca286886309 (diff)
downloadATCD-bcfccc4ac41bf8387b70c5d01405454ec7955d58.tar.gz
Wed Jun 23 14:17:26 UTC 2010 Vladimir Zykov <vladimir.zykov@prismtech.com>
* tests/Log_Msg_Test.cpp: Added nul terminator at the end of a string that was missing.
Diffstat (limited to 'ACE')
-rw-r--r--ACE/ChangeLog5
-rw-r--r--ACE/tests/Log_Msg_Test.cpp1
2 files changed, 6 insertions, 0 deletions
diff --git a/ACE/ChangeLog b/ACE/ChangeLog
index 01c161310be..7ba4cb7e5d1 100644
--- a/ACE/ChangeLog
+++ b/ACE/ChangeLog
@@ -1,3 +1,8 @@
+Wed Jun 23 14:17:26 UTC 2010 Vladimir Zykov <vladimir.zykov@prismtech.com>
+
+ * tests/Log_Msg_Test.cpp:
+ Added nul terminator at the end of a string that was missing.
+
Wed Jun 23 10:24:30 UTC 2010 Martin Corino <mcorino@remedy.nl>
* bin/MakeProjectCreator/config/global.features:
diff --git a/ACE/tests/Log_Msg_Test.cpp b/ACE/tests/Log_Msg_Test.cpp
index 1134496cdb5..8317b58de96 100644
--- a/ACE/tests/Log_Msg_Test.cpp
+++ b/ACE/tests/Log_Msg_Test.cpp
@@ -244,6 +244,7 @@ test_log_msg_features (const ACE_TCHAR *program)
size_t const index = i++;
big[index] = alphabet[i % j];
}
+ big[ACE_Log_Record::MAXLOGMSGLEN] = ACE_TEXT ('\0');
ACE_DEBUG ((LM_INFO, ACE_TEXT ("This is too big: %s\n"), big));
// Exercise many different combinations of OSTREAM.