rendered paste body#
# old_revision [2dac10f87a6b2c5fa22b0b3f9d7702b9adaa39ab]
#
# patch "paths.cc"
# from [ae10ed965d9476d73e202fb8d289c453e77a2e5d]
# to [1c4867e1b3d6651be58e0ab751b0dfefe0e76124]
#
============================================================
--- paths.cc ae10ed965d9476d73e202fb8d289c453e77a2e5d
+++ paths.cc 1c4867e1b3d6651be58e0ab751b0dfefe0e76124
@@ -1141,7 +1141,7 @@
// and check for the weird WIN32 version
#ifdef WIN32
string tilde_expanded2 = system_path("~this_user_does_not_exist_anywhere").as_external();
- BOOST_CHECK(tilde_expanded2[0] == '/');
+ BOOST_CHECK(tilde_expanded2[1] == ':');
BOOST_CHECK(tilde_expanded2.find('~') == string::npos);
#else
BOOST_CHECK_THROW(system_path("~this_user_does_not_exist_anywhere"), informative_failure);