From 5da4dd90dd41adadeac1355ee5d50c3f400a1b83 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Sat, 7 Apr 2012 15:34:55 -0400 Subject: [PATCH] upgraded to use filename to support windows. --- nucleus/tools/clam_tools/value_tagger.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nucleus/tools/clam_tools/value_tagger.cpp b/nucleus/tools/clam_tools/value_tagger.cpp index 0975186e..6c745e50 100644 --- a/nucleus/tools/clam_tools/value_tagger.cpp +++ b/nucleus/tools/clam_tools/value_tagger.cpp @@ -200,7 +200,7 @@ private: ini_configurator *_ini; // the configuration for what we'll scan. string_table _dirs; // the list of directories. string_table _dirs_seen; // full list of already processed directories. - astring _manifest_filename; // the name of the manifest we'll create. + filename _manifest_filename; // the name of the manifest we'll create. byte_filer _manifest; // the actual file we're building. active_searches _search_list; // tracks our progress in scanning files. int_array _search_ordering; @@ -352,8 +352,8 @@ variables before running a build.\r\n"; _ini = new ini_configurator(ini_file, ini_configurator::RETURN_ONLY); // read the name of the manifest file to create. - _manifest_filename = _ini->load("manifest", "output", ""); - if (!_manifest_filename) { + _manifest_filename = filename(_ini->load("manifest", "output", "")); + if (!_manifest_filename.raw().length()) { non_continuable_error(class_name(), ini_file, "The 'output' file entry is missing"); } _manifest_filename = parser_bits::substitute_env_vars(_manifest_filename); -- 2.34.1