Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!hplabs!amdahl!rtech!daveb From: daveb@rtech.UUCP (Dave Brower) Newsgroups: net.sources.bugs Subject: patch: correction to bustup.c just posted Message-ID: <227@rtech.UUCP> Date: Wed, 23-Apr-86 17:30:51 EST Article-I.D.: rtech.227 Posted: Wed Apr 23 17:30:51 1986 Date-Received: Sat, 26-Apr-86 06:12:37 EST Distribution: net Organization: Relational Technology Inc, Alameda CA Lines: 47 I just remembered 808*'s with 16 bit ints and realized the following patch would be needed. *Gosh* I'm sorry, I've been on int == long machines for too long! *** bustup.c Wed Apr 23 14:15:11 1986 --- nbustup.c Wed Apr 23 14:27:48 1986 *************** *** 30,36 # include ! # define FILESIZE 200000 char template[ 100 ] = { 0 }; char fname[ 100 ] = { 0 }; --- 30,36 ----- # include ! # define FILESIZE 200000L char template[ 100 ] = { 0 }; char fname[ 100 ] = { 0 }; *************** *** 41,47 { register FILE * fp; register int i; ! register int byte; register int c; /* figure the output file name template */ --- 41,47 ----- { register FILE * fp; register int i; ! register long byte; register int c; /* figure the output file name template */ -- Red: "Whadda ya got that big nose for, granny?" Wolf: "Just to HAVE, see!" {amdahl, sun, mtxinu, cbosgd}!rtech!daveb