Bug in compress - (nf)

Rob Warnock rpw3 at redwood.UUCP
Wed Jan 16 10:47:27 AEST 1985


+---------------
| You are absolutely correct.  The above code was inserted for the
| Perkin-Elmer machine which outputs a 4 times slower compare instruction
| without the "(unsigned)".  The correct fix follows:
| --
| Full-Name:  Joseph M. Orost
| UUCP:       ..!{decvax,ucbvax,ihnp4}!vax135!petsd!joe
| US Mail:    MS 313; Perkin-Elmer; 106 Apple St; Tinton Falls, NJ 07724
+---------------

Uhh... This may be a stupid question, but if it's that slow, would there
be any problem in simply defining "EOF" to be "((unsigned) -1)" in the
Interdata "stdio.h"? That way, everyone in the world doesn't have to
put "#ifdef interdata" in the code.


Rob Warnock
Systems Architecture Consultant

UUCP:	{ihnp4,ucbvax!dual}!fortune!redwood!rpw3
DDD:	(415)572-2607
USPS:	510 Trinidad Lane, Foster City, CA  94404



More information about the Comp.sources.bugs mailing list