This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/71431] ifstream::rdbuf directory


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71431

--- Comment #7 from Dima Tisnek <dimaqq at gmail dot com> ---
Ugh, it never occurred to me to check error on target of buffer copy.

`buf.rdstate()` does report an error for me.

A bit unexpected and seems like black magic, but the error is there :)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]