diff --git a/historic/jam/src/timestamp.c b/historic/jam/src/timestamp.c index 88d2bdc50..fb0b7d405 100644 --- a/historic/jam/src/timestamp.c +++ b/historic/jam/src/timestamp.c @@ -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; diff --git a/jam_src/timestamp.c b/jam_src/timestamp.c index 88d2bdc50..fb0b7d405 100644 --- a/jam_src/timestamp.c +++ b/jam_src/timestamp.c @@ -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;