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 c++/60959] Does âcout<<(char*)NULLâ doing âclose(1)â ?


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

--- Comment #2 from Sreenath U S <sree.gooogle at gmail dot com> ---
"sets the badbit on the stream which causes nothing to be printed after that.";
So this is a defined behavior or it varies on compiler to compiler?


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