Date: Mon, 29 Nov 2010 04:57:46 +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: <201011290458.oAT4w1Ko075310@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
gad 2010-11-29 04:57:46 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
usr.sbin/lpr/lpd printjob.c
Log:
SVN rev 216039 on 2010-11-29 04:57:46Z by gad
= MFC of r211190:
- 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.
Revision Changes Path
1.64.10.2 +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?201011290458.oAT4w1Ko075310>
