2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 01:12:13 +00:00

On NT, force backslashes during binding phase so that files will be

found.  This used to be taken care of by path_build, but now that
we're trying to preserve slash direction there, we need this here.


[SVN r18345]
This commit is contained in:
Dave Abrahams
2003-05-07 16:07:40 +00:00
parent d491e47efb
commit db86b4e2d1
2 changed files with 16 additions and 2 deletions

View File

@@ -83,7 +83,14 @@ timestamp(
p = path.value;
do
*p = tolower( *p );
{
*p = tolower( *p );
# ifdef NT
/* On NT, we must use backslashes or the file won't be found. */
if (*p == '/')
*p = PATH_DELIM;
# endif
}
while( *p++ );
target = path.value;

View File

@@ -83,7 +83,14 @@ timestamp(
p = path.value;
do
*p = tolower( *p );
{
*p = tolower( *p );
# ifdef NT
/* On NT, we must use backslashes or the file won't be found. */
if (*p == '/')
*p = PATH_DELIM;
# endif
}
while( *p++ );
target = path.value;