home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / msdos / programm / 8962 < prev    next >
Encoding:
Internet Message Format  |  1992-09-01  |  1.4 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!jvnc.net!netnews.upenn.edu!msuinfo!uchinews!quads!pynq
  2. From: pynq@quads.uchicago.edu (George Jetson)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Re: gcc (djgpp) default file mode (text vs binary) question?
  5. Message-ID: <1992Sep1.175133.5026@midway.uchicago.edu>
  6. Date: 1 Sep 92 17:51:33 GMT
  7. References: <BtJuws.ACx@acsu.buffalo.edu> <4915@balrog.ctron.com>
  8. Sender: news@uchinews.uchicago.edu (News System)
  9. Reply-To: pynq@midway.uchicago.edu
  10. Organization: D. J. Dougherty & Associates
  11. Lines: 22
  12.  
  13. In article <4915@balrog.ctron.com> dj@ctron.com writes:
  14.  
  15. >At least in the latest version (1.08), you can call setmode() on a
  16. >file.  This is required for stdin/stdout/stderr, which are already
  17. >opened by the time you call main().  Also, it's always safe to use
  18. >"rb" or "wb" when you can.
  19.  
  20. setmode() was conspicuously absent in 1.07 (the last version I have had
  21. the time to play with)
  22.  
  23. It is good to hear that it is in in 1.08, since that fact clearly makes
  24. this a non-problem.  Good job!
  25.  
  26. ************************************************************************
  27. A note to new readers:  the weasely :-) symbol is frowned upon in this
  28. group.  Any questions, see Phil Gustafson who will gladly rearrange your
  29. diodes for you.
  30.             - From the AFU FAQ -
  31.  
  32.     - pynq@quads.uchicago.edu, who is still costing the net
  33.       hundreds, if not thousands, of dollars, every time he posts -
  34. ************************************************************************
  35.