Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site utcs.UUCP Path: utzoo!utcs!bwp From: bwp@utcs.UUCP (Bruce Pinn) Newsgroups: net.micro.mac Subject: Bug in macget.c Message-ID: <337@utcs.UUCP> Date: Mon, 14-Jan-85 12:15:17 EST Article-I.D.: utcs.337 Posted: Mon Jan 14 12:15:17 1985 Date-Received: Mon, 14-Jan-85 12:19:25 EST Organization: University of Toronto - General Purpose UNIX Lines: 13 The tgetrec routine in macget should have the line return chsum replaced by the line return (chksum & BYTEMASK); This change is for VAXEN only. The problem comes up when the checksum is 255. The VAX sign extends the checksum resulting in -1 being returned. This is not good!!! My regrets if this bug has already been found and posted. Bruce Pinn