Date: Wed, 11 Aug 2010 19:32:49 +0000 (UTC) From: Garance A Drosehn <gad@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.sbin/lpr/lpd printjob.c Message-ID: <201008111933.o7BJX1nd099692@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
gad 2010-08-11 19:32:49 UTC
FreeBSD src repository
Modified files:
usr.sbin/lpr/lpd printjob.c
Log:
SVN rev 211190 on 2010-08-11 19:32:49Z by gad
- Improve the wait4data() routine so it behaves better when checking
print-jobs which have last-modification times that are in the future.
This shouldn't happen, of course, but it can. And when it did happen,
the previous check could cause completely-spooled jobs to sit in the
queue for 20 minutes per job. The new code waits until the last-modify
time is not changing, instead of making decisions based on the specific
value of last-modify.
MFC after: 2 weeks
Revision Changes Path
1.65 +23 -7 src/usr.sbin/lpr/lpd/printjob.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008111933.o7BJX1nd099692>
