|
Boost Users : |
From: Bob J (bobj_27_at_[hidden])
Date: 2006-08-18 12:21:43
I ran across a problem in the convenience extension function. If the filename
happens to have the the tilda character in it the function core drops. I
discovered the problem when a file named ~trash was inadvertently created in a
data directory. After creation of that file the system started core dropping.
After much debugging I narrowed the problem to the extension function and the
~trash file.
I was able to replicate the problem by
std::string filename = "~test.txt";
string ext = extension(filename);
Does anyone know a work around or if there are any other gotcha characters in
this function.
Bob
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