22 Mar
2006
22 Mar
'06
1:43 a.m.
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:/'.