Correct the Unix programmer's error #1: "char c = getc();".

Closes PR # bin/1386: lpf Text Filter does not w...

Submitted by:	andreas@marvin.RoBIN.de
This commit is contained in:
Joerg Wunsch 1996-07-17 20:14:42 +00:00
parent 706b948138
commit 35ab66af3b

View File

@ -38,7 +38,8 @@ static char copyright[] =
#endif /* not lint */
#ifndef lint
static char sccsid[] = "@(#)lpf.c 8.1 (Berkeley) 6/6/93";
static char sccsid[] = "From: @(#)lpf.c 8.1 (Berkeley) 6/6/93";
static char id[] = "$Id$";
#endif /* not lint */
/*
@ -79,7 +80,8 @@ main(argc, argv)
register int i, col;
register char *cp;
int done, linedone, maxrep;
char ch, *limit;
char *limit;
int ch;
while (--argc) {
if (*(cp = *++argv) == '-') {