home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / os9 / 1168 < prev    next >
Encoding:
Internet Message Format  |  1992-08-26  |  913 b 

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!beirut.berkeley.edu!kientzle
  2. From: kientzle@beirut.berkeley.edu (Tim Kientzle)
  3. Newsgroups: comp.os.os9
  4. Subject: getc() bug?
  5. Followup-To: comp.os.os9
  6. Date: 26 Aug 1992 22:50:54 GMT
  7. Organization: University of California, Berkeley
  8. Lines: 8
  9. Sender: kientzle@math.berkeley.edu
  10. Message-ID: <17h1seINNcj4@agate.berkeley.edu>
  11. NNTP-Posting-Host: beirut.berkeley.edu
  12. Summary: Does getc trash D1?
  13.  
  14. I had this odd bug in a program which I finally solved by moving some
  15. calls to getc.  From studying the effect on the assembly, it looks as
  16. if getc() is trashing D1.  This is using the libraries supplied with
  17. the MM/1, which I believe are the OS9 2.3 libraries.  Can anyone
  18. confirm or deny that getc() has a problem?  And, if so, can
  19. anyone suggest a simple workaround (other than re-arranging the code,
  20. preferably).
  21.                     - Tim
  22.