
9 Mar
2009
9 Mar
'09
8:07 a.m.
Hi All! I have noticed that fs::path("/foo/boo/.").normalize == fs::path("/foo/boo/.") and but I expect fs::path("/foo/boo/.").normalize == fs::path("/foo/boo") without trailing dot. I there is a reason why trailing dot is not removed? Is that paths is not equivalents on some systems?

9 Mar
9 Mar
10:03 a.m.
Konstantin Litvinenko пишет:
Ok, I have answered this question by my self :) Yes, this paths is not equivalents in POSIX systems because of symbolic links resolutions. I can handle this. But second question arises. Why fs::path::normalize() is deprecated? Why users should perform this non trivial function by hands?
5953
Age (days ago)
5953
Last active (days ago)
1 comments
1 participants
participants (1)
-
Konstantin Litvinenko