CVS update: samba/source/printing
John Reilly
jreilly at au2.samba.org
Fri Jan 19 13:48:18 EST 2001
Date: Friday January 19, 2001 @ 13:48
Author: jreilly
Update of /data/cvs/samba/source/printing
In directory samba:/tmp/cvs-serv17551/printing
Modified Files:
Tag: APPLIANCE_HEAD
printing.c
Log Message:
- If stat'ing the job file fails, delete the job from printing.tdb
- In print_job_end() check lpq cache time and do a print_queue_update()
This prevents printing.tdb from growing when using NT/2K clients, and
there isn't someone pressing F5 in a port monitor window.
- In print_queue_resume() check lpq cache time and do a print_queue_update()
Probably should do it for print_job_resume() too.
Note: the real solution is to have the back-end(s) sent a message to smbd
which can conditionally determine to call print_queue_update(). But this
is for another time...
JohnR
More information about the samba-cvs
mailing list