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

FILE_OPEN should take a native path.

This commit is contained in:
Steven Watanabe
2018-01-17 16:57:51 -07:00
parent d1f939a1e2
commit 3edd6e36a0

View File

@@ -448,7 +448,11 @@ rule find-builds ( what : properties * : * )
rule set-log-file ( log-file )
{
path.makedirs [ path.parent $(log-file) ] ;
.log-fd = [ FILE_OPEN $(log-file) : "w" ] ;
.log-fd = [ FILE_OPEN [ path.native $(log-file) ] : "w" ] ;
if ! $(.log-fd)
{
ECHO "warning:" failed to open log file $(log-file) for writing ;
}
}