Boost logo

Boost Users :

From: Matt England (mengland_at_[hidden])
Date: 2006-03-21 20:43:10


The following is a note of my developers that was attached to a bug close
report. Is this special check for to convert "x:" to "x:/" a good practice
for the Boost file-system library usage? Is there a better way to do this
and/or are we missing something?

-Matt

The boost system_complete() function is used to convert relative paths into
absolute paths. For some reason, boost interprets 'c:' as an incomplete path,
and the windows boost behavior is to initially complete the path to the
working directory. In other words 'c:' was becoming (in my case)
'c:/mydata/'.

I added a check in Client.cpp to see if the --get parameter is equal to
'x:' and if it is, convert it to 'x:/'.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net