Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
NextJobId incorrect after a cupsd crash #1582
NextJobId is incorrect after a cupsd crash.
In the case where the cache is out of date maybe NextJobId should come from load_request_root() rather than load_next_job_id()...
Steps to reproduce:
FWIW this comes from:
CUPS.org User: jlovell
ls shows them as equal but gdb reveals the dir is newer:
ls -ld /var/spool/cups /var/tmp/cups/job.cache
drwx--x--- 11 root lp 374 Apr 21 22:07 /var/spool/cups
(gdb) p dirinfo.st_mtimespec.tv_sec - fileinfo.st_mtimespec.tv_sec