get rid of numerous probably inocuous valgrind/helgrind messages by ensuring that actual string copies are passed between threads, without refcount/shared data magic

This commit is contained in:
Jean-Francois Dockes
2014-05-05 19:01:58 +02:00
parent deb4cc8d12
commit e867f855ad
8 changed files with 73 additions and 17 deletions
+1
View File
@@ -373,6 +373,7 @@ MyHtmlParser::opening_tag(const string &tag)
// Specific to Recoll filters.
decode_entities(content);
struct tm tm;
memset(&tm, 0, sizeof(tm));
if (strptime(content.c_str(),
" %Y-%m-%d %H:%M:%S ", &tm) ||
strptime(content.c_str(),