Article View: gnu.g++.lib.bug
Article #127Is this deliberate?
From: David Detlefs
Date: Mon, 14 Aug 1989 20:54
Date: Mon, 14 Aug 1989 20:54
30 lines
1119 bytes
1119 bytes
Doug et. al. --
Consider the following program:
--------------------------------------------------
#include <stream.h>
void main() {
cout << "1111111111";
fprintf(stdout, "222222\n");
}
--------------------------------------------------
Using G++-1.35.0 and libg++ 1.35.0 on a uvax3, this produces the
following output:
[/JMW]:~/testing% bug5
1222222
1222222
11[/JMW]:~/testing%
Obviously files and streams don't coexist peacefully, as they do in
the AT&T implementation. Is this deliberate? Is it the case that
Files and streams coexist peacefully? If this was the design choice,
fine; if it wasn't, and this was supposed to work, I just wanted to
let you know that it didn't.
Thanks.
Dave
Technical Details
Message-ID:
<8908161258.AA00927@AENEAS.MIT.EDU>Path:
arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!watmath!uunet!tut.cis.ohio-state.edu!JMW.LARCH.CS.CMU.EDU!dldShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!watmath!uunet!tut.cis.ohio-state.edu!JMW.LARCH.CS.CMU.EDU!dld From: dld@JMW.LARCH.CS.CMU.EDU (David Detlefs) Newsgroups: gnu.g++.lib.bug Subject: Is this deliberate? Message-ID: <8908161258.AA00927@AENEAS.MIT.EDU> Date: 14 Aug 89 20:54:27 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 30