info-mac@utcsrgv.UUCP (info-mac) (07/01/84)
Date: Fri, 29 Jun 84 23:08:32 edt From: uw-beaver!winkler@harvard.ARPA (Dan Winkler) To: info-mac@sumex Subject: macget fix Here's a fix to make the -u option of macget work. It was incrementing a pointer before the cr to nl translation but it should be incremented after. <1> diff macget.c macget2.c 337c337 < cksum += *bp++; --- > cksum += *bp; 339a340 > bp++; So now the code reads: for (i = 0; i < count; i++) { cksum += *bp; if (txtmode && *bp == '\r') *bp = '\n'; bp++; } Dan.