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