add messages in filesystem logs about the search and discover of _main.cfg
I hope it will help to locate the win/mac bug in filesystem
This commit is contained in:
parent
e3637f74f9
commit
f3ee1bdfb2
1 changed files with 2 additions and 0 deletions
|
@ -409,8 +409,10 @@ void get_files_in_dir(const std::string& directory,
|
|||
struct stat st;
|
||||
|
||||
if (reorder == DO_REORDER) {
|
||||
LOG_FS << "searching _main.cfg in directory " << directory << '\n';
|
||||
const char *maincfg = (directory + "/" + MAINCFG).c_str();
|
||||
if (stat(maincfg, &st) == 0) {
|
||||
LOG_FS << "_main.cfg found at " << maincfg << '\n';
|
||||
if (files != NULL) {
|
||||
if (mode == ENTIRE_FILE_PATH)
|
||||
files->push_back(maincfg);
|
||||
|
|
Loading…
Add table
Reference in a new issue