R.D.Chafer@sysc.salford.ac.UK (11/21/89)
> >Date: 20 Nov 89 09:19:50 GMT >From: eru!luth!sunic!mcsun!inria!loria!wiener.crin.fr!domen@bloom-beacon.mit.edu (Eric Domenjoud) >Subject: BUG in FWRITE (LATTICE C) > >I'd like to report a bug I found in the function FWRITE of the library >GEMLIB.BIN of LATTICE C. Writing 0xFF to a file causes an error. >I've included the code of this function with some comments so that >everybody can see the bug is. > >Did somebody already notice it? >Does this bug really exist or only in my version ? (would be very strange) > >Anyway, be carefull when using this function. > >Eric > [lots of code omitted] > First of all: I don't use Lattice C so I could be completely wrong. Character 255 is quite often used as an EOF character, could this be a possible source of problems? Robert Chafer ========================================================================= From: Robert Chafer Computing Centre Telephone: +44 61 736 5843 x 672 or x7328, University of Salford, Salford M5 4WT UK E-mail: JANET: chafer @ uk.ac.salford.sysc ARPANET: chafer%uk.ac.salford.sysc @ nss.cs.ucl.ac.uk BITNET: chafer%uk.ac.salford.sysc @ uk.ac or chafer%uk.ac.salford.sysc%ukacrl.bitnet @ cunyvm.cuny.edu