|
Boost : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-08-08 07:33:52
Hello,
suppose I have this:
path p = .........;
p /= "../../../a/b/c" ;
with current CVS version of filesystem I get paths like:
bin/gcc/debug/threading-multi/../../../../bin/nm/debug/threading-multi/print_and_set.map
which are correct, but it has reduntant elements. Say first ".." undoes
"threading-multi" and next ".." undoes "debug" and the path is the same as
bin/nm/debug/threading-multi/print_and_set.map
which is much smaller, and so better for things like error diagnostic. Any
change that filesystem perform such path normalization either during
operator/= or as a separator function?
TIA,
Volodya
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk