Opened 18 years ago
Last modified 15 years ago
#366 closed Feature Requests (fixed)
handle double '/' in the boost::filesystem — at Initial Version
Reported by: | rsrus | Owned by: | nobody |
---|---|---|---|
Milestone: | Component: | filesystem | |
Version: | None | Severity: | Showstopper |
Keywords: | Cc: | bdawes@… |
Description
Hi. Sometimes I make some path by hand. For example std::string str = "./"; //... some code .... std::string str2 = str + "/path/to/file"; The result is ".//path/to/file". If I try to make path from it: boost::filesystem::path fs_path2(str2, fs::native); I got exception. Is it possible to correct function path::m_path_append to handle this situation (double/triple/... separator in the middle of string)?
Note:
See TracTickets
for help on using tickets.