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:
@@ -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 ;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user