daveb@rtech.UUCP (Dave Brower) (04/24/86)
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 <stdio.h> ! # define FILESIZE 200000 char template[ 100 ] = { 0 }; char fname[ 100 ] = { 0 }; --- 30,36 ----- # include <stdio.h> ! # 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