Boost logo

Boost-Build :

Subject: [Boost-build] CHECK_IF_FILE fails on Windows if first character in file name is /
From: Jim Gallagher (jim_at_[hidden])
Date: 2010-10-06 11:01:04


I do not understand all the details, but it seems that on Windows,
absolute paths get prepended with a /. The CHECK_IF_FILE built-in
fails if this leading / is present. I assume that the / is still
present when stat is called in file_query().

An easy fix would be to check if the path is absolute and move
filename pointer over one character, but I don't know enough about the
internals to know if this is the best fix.

Jim Gallagher

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at