Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-03-25 06:13:56

Well... the test still fails under msvc. It turned out to be harder
to fix this. Look at the attached test. It's supposed to do nothing,
only print the directory where "bjam" is run. It prints it, something like


and this short name breaks things. When I cd to the same directory and
run the same bjam command like, I get

C:\Documents and Settings\....

IOW, invoking bjam from Python causes problems. I'm not that eager to find
out what's wrong with out test system... it would be nice if we can convert
short current path into long current path.

Does anyone knows a Windows API function which can return long path given a
short one? I've tried to look, but found none.

Volodya --------------Boundary-00=_8VXAQRPBJKYGXSPZJY7V Content-Type: text/x-python;
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=""


from BoostBuild import Tester, List

# Create a temporary working directory
t = Tester(verbose=1)

# Create the needed files
t.write("project-root.jam", "")
t.write("Jamfile", """
ECHO [ PWD ] ;

print t.stdout()


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