------- Comment #2 from jimrees at itasoftware dot com  2006-09-11 21:10 -------
fyi, a "real world" example of how this comes up?   Construct a std::ifstream
using a pathname to a directory instead of a file.   Under Linux and MacOS at
least, the basic_filebuf code is happy to open such a pathname, but then will
get EISDIR when it first tries to read, and will throw an exception.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29026

Reply via email to