diff -ru a/boost_1_54_0/tools/build/v2/engine/filent.c b/boost_1_54_0/tools/build/v2/engine/filent.c --- a/boost_1_54_0/tools/build/v2/engine/filent.c 2013-05-20 21:14:18.000000000 -0700 +++ b/boost_1_54_0/tools/build/v2/engine/filent.c 2013-11-04 09:38:56.820120200 -0800 @@ -59,6 +59,8 @@ LIST * files = L0; int d_length; + printf("scanning %s\n", object_str(d->name)); + assert( d ); assert( d->is_dir ); assert( list_empty( d->files ) ); @@ -97,6 +99,7 @@ HANDLE const findHandle = FindFirstFileA( pathspec->value, &finfo ); if ( findHandle == INVALID_HANDLE_VALUE ) { + printf("failed scanning in FindFirstfileA(%s)\n", pathspec->value); string_free( pathspec ); return -1; } @@ -122,6 +125,14 @@ ff->is_file = !ff->is_dir; ff->exists = 1; timestamp_from_filetime( &ff->time, &finfo.ftLastWriteTime ); + printf("file_dirscan found %s: ", object_str(ff->name)); + if(ff->is_dir) + printf("directory"); + if(!ff->exists) + printf("missing"); + if(ff->is_file) + printf("file"); + printf("\n"); } } while ( FindNextFile( findHandle, &finfo ) ); @@ -133,6 +144,11 @@ string_free( pathspec ); d->files = files; + + printf("done scanning %s: (", object_str(d->name)); + list_print(files); + printf(")\n"); + return 0; } @@ -256,8 +272,20 @@ OBJECT * parent; file_info_t * parent_info; + printf("file_query(%s)\n", pathstr); + if ( try_file_query_root( info ) ) + { + printf("file_query(%s): ", pathstr); + if(info->is_dir) + printf("directory"); + if(!info->exists) + printf("missing"); + if(info->is_file) + printf("file"); + printf("\n"); return; + } if ( ( dir = strrchr( pathstr, '\\' ) ) ) { @@ -285,6 +313,14 @@ if ( list_empty( parent_info->files ) ) file_collect_dir_content_( parent_info ); } + printf("file_query(%s): ", object_str(info->name)); + if(info->is_dir) + printf("directory"); + if(!info->exists) + printf("missing"); + if(info->is_file) + printf("file"); + printf("\n"); } Only in a/boost_1_54_0/tools/build/v2/engine/: filesys.c