diff -c -r boost_1_33_0-orig/tools/regression/compiler_status.cpp boost_1_33_0/tools/regression/compiler_status.cpp *** boost_1_33_0-orig/tools/regression/compiler_status.cpp Sun Jun 19 22:08:17 2005 --- boost_1_33_0/tools/regression/compiler_status.cpp Mon Sep 5 16:23:29 2005 *************** *** 746,754 **** // - Boost.Build V1 location with ALL_LOCATE_TARGET // - Boost.Build V2 location with top-lelve "build-dir" // - Boost.Build V1 location without ALL_LOCATE_TARGET ! string relative( fs::initial_path().string() ); ! relative.erase( 0, boost_root.string().size()+1 ); fs::path bin_path = find_bin_path(relative); report << "\n"; --- 746,774 ---- // - Boost.Build V1 location with ALL_LOCATE_TARGET // - Boost.Build V2 location with top-lelve "build-dir" // - Boost.Build V1 location without ALL_LOCATE_TARGET ! ! // We need to locate the relative path from the current directory to boost_root ! fs::path initial_path( fs::initial_path() ), ! relative; ! while ( !initial_path.empty() && ! !fs::equivalent( initial_path, boost_root ) ) ! { ! relative = initial_path.leaf() / relative; ! initial_path /= ".."; ! } ! if ( initial_path.empty() ) ! { ! std::cerr << "must be run from within the boost-root directory tree\n"; ! return; ! } ! ! // Now find the bin_path fs::path bin_path = find_bin_path(relative); + if (!fs::exists(bin_path)) + { + std::cerr << "results directories do not exist\n"; + return; + } report << "
\n";