Article View: comp.os.msdos.programmer
Article #1202Re: gcc (djgpp) default file mode (text vs binary) question?
From: George Jetson
Date: Tue, 01 Sep 1992 17:51
Date: Tue, 01 Sep 1992 17:51
22 lines
1512 bytes
1512 bytes
In article <4915@balrog.ctron.com> dj@ctron.com writes: >At least in the latest version (1.08), you can call setmode() on a >file. This is required for stdin/stdout/stderr, which are already >opened by the time you call main(). Also, it's always safe to use >"rb" or "wb" when you can. setmode() was conspicuously absent in 1.07 (the last version I have had the time to play with) It is good to hear that it is in in 1.08, since that fact clearly makes this a non-problem. Good job! ************************************************************************ A note to new readers: the weasely :-) symbol is frowned upon in this group. Any questions, see Phil Gustafson who will gladly rearrange your diodes for you. - From the AFU FAQ - - pynq@quads.uchicago.edu, who is still costing the net hundreds, if not thousands, of dollars, every time he posts - ************************************************************************
Technical Details
Message-ID:
<1992Sep1.175133.5026@midway.uchicago.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!jvnc.net!netnews.upenn.edu!msuinfo!uchinews!quads!pynqReferences:
<BtJuws.ACx@acsu.buffalo.edu> <4915@balrog.ctron.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!jvnc.net!netnews.upenn.edu!msuinfo!uchinews!quads!pynq From: pynq@quads.uchicago.edu (George Jetson) Newsgroups: comp.os.msdos.programmer Subject: Re: gcc (djgpp) default file mode (text vs binary) question? Message-ID: <1992Sep1.175133.5026@midway.uchicago.edu> Date: 1 Sep 92 17:51:33 GMT References: <BtJuws.ACx@acsu.buffalo.edu> <4915@balrog.ctron.com> Sender: news@uchinews.uchicago.edu (News System) Reply-To: pynq@midway.uchicago.edu Organization: D. J. Dougherty & Associates Lines: 22