cck%cucca@COLUMBIA.EDU.UUCP (07/11/86)
Found a problem in papif.c - wasn't ever sending more than 4096 bytes
- fix follows in context diff format.
Charlie C. Kim
User Services
Columbia University
*** /tmp/,RCSt1009555 Thu Jul 10 19:14:53 1986
--- papif.c Thu Jul 10 19:13:31 1986
***************
*** 1,6
! static char rcsid[] = "$Author: cck $ $Date: 86/07/06 23:42:57 $";
! static char rcsident[] = "$Header: papif.c,v 1.2 86/07/06 23:42:57 cck Rel $";
! static char revision[] = "$Revision: 1.2 $";
/*
* papif.c - PAP Input Filter for LPD system (4.2)
--- 1,6 -----
! static char rcsid[] = "$Author: cck $ $Date: 86/07/10 19:13:00 $";
! static char rcsident[] = "$Header: papif.c,v 1.4 86/07/10 19:13:00 cck Exp $";
! static char revision[] = "$Revision: 1.4 $";
/*
* papif.c - PAP Input Filter for LPD system (4.2)
***************
*** 75,81
PAPInit(); /* initialize pap */
/* log message */
! fprintf(stderr,"PSIF: Starting job for %s@%s at %s on printer %s\n",
user,host,ptime(),lwname);
signal(SIGINT,quit); /* this is what lprm sends us */
--- 75,81 -----
PAPInit(); /* initialize pap */
/* log message */
! fprintf(stderr,"PAPIF: Starting job for %s@%s at %s on printer %s\n",
user,host,ptime(),lwname);
signal(SIGINT,quit); /* this is what lprm sends us */
***************
*** 146,152
break;
}
! } while (err > 0);
ppwrite(cno, NULL, 0, TRUE); /* hope for the best */
alarm(3*60); /* wait for 3 minutes */
--- 146,152 -----
break;
}
! } while (1);
ppwrite(cno, NULL, 0, TRUE); /* hope for the best */
alarm(3*60); /* wait for 3 minutes */