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

Fix file reading on Windows.

[SVN r33748]
This commit is contained in:
Rene Rivera
2006-04-19 21:10:11 +00:00
parent 89143e9723
commit 4befe28c11

View File

@@ -14,6 +14,7 @@ import set ;
import container ;
import "class" ;
import sequence ;
import path ;
# The type of output to generate.
# "console" is formated text echoed to the console (the default);
@@ -901,6 +902,7 @@ local rule read-file (
file # The file to read in.
)
{
file = [ path.native [ path.root [ path.make $(file) ] [ path.pwd ] ] ] ;
if ! $(.file<$(file)>.lines)
{
local content ;