Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site ncr-sd.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!vax135!cornell!uw-beaver!tektronix!hplabs!sdcrdcf!sdcsvax!ncr-sd!greg
From: greg@ncr-sd.UUCP (Greg Noel)
Newsgroups: net.bugs
Subject: Re: bugs in file(1) on BTL SYS V (maybe others)
Message-ID: <268@ncr-sd.UUCP>
Date: Thu, 22-Aug-85 19:34:47 EDT
Article-I.D.: ncr-sd.268
Posted: Thu Aug 22 19:34:47 1985
Date-Received: Sun, 25-Aug-85 13:55:48 EDT
References: <1005@ariel.UUCP>
Reply-To: greg@ncr-sd.UUCP (Greg Noel)
Organization: NCR Corporation, Torrey Pines
Lines: 18

In article <1005@ariel.UUCP> rick@ariel.UUCP (R.MAUS) writes:
>BUG #1
>    Fix:
>		case SHORT:
>			val = (long)(*(short *)	p);
>			break;
>
>	to read	(something to the effect of):
>
>		case SHORT:
>			val = (long)(*(unsigned	short *) p);
>			break;
>
There is a similar cast a few lines below the one quoted that also must be
fixed.  Change the (long)(*(char *) p) into (long)(*(unsigned char *) p).
Then the problem identified in bug #3 has a chance of working.....
-- 
-- Greg Noel, NCR Rancho Bernardo    Greg@ncr-sd.UUCP or Greg@nosc.ARPA