From 40735d563053ede621efc21efdb26f271670c168 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Fri, 28 Jan 2005 13:37:41 +0000 Subject: [PATCH] Added another check to try and diagnode sunpro issue. [SVN r26898] --- test/collate_info/collate_info.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/collate_info/collate_info.cpp b/test/collate_info/collate_info.cpp index 4a43455e..ae9d5434 100644 --- a/test/collate_info/collate_info.cpp +++ b/test/collate_info/collate_info.cpp @@ -107,6 +107,11 @@ void print_cpp_char(charT c) std::basic_string result = col.transform(&c, &c+1); std::cout << result.size() << " "; print_string(result); + std::size_t n = result.find(charT(0)); + if(n != std::basic_string::npos) + { + std::cerr << "(Error in location of null, found: " << n << ")"; + } #endif }