Skip to content

Commit 762b432

Browse files
committed
Make sure we save the [date-]time-at-xxx attributes for a job (Issue #1440)
1 parent cdd7cf4 commit 762b432

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Changes in CUPS v2.4.17 (YYYY-MM-DD)
1414
- Fixed an issue with the class/printer CGI name checking.
1515
- Fixed infinite loop in `http_write()` on busy print servers (Issue #827)
1616
- Fixed potential TLS blocking issues (Issue #1128)
17+
- Fixed a job history bug in the scheduler (Issue #1440)
1718
- Fixed notifier logging bug that would result in nul bytes getting into the
1819
log (Issue #1450)
1920
- Fixed possible use-after-free in `cupsdReadClient()` (Issue #1454)

scheduler/job.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Job management routines for the CUPS scheduler.
33
*
4-
* Copyright © 2020-2025 by OpenPrinting.
4+
* Copyright © 2020-2026 by OpenPrinting.
55
* Copyright © 2007-2019 by Apple Inc.
66
* Copyright © 1997-2007 by Easy Software Products, all rights reserved.
77
*
@@ -4820,6 +4820,9 @@ set_time(cupsd_job_t *job, /* I - Job to update */
48204820
cupsdLogMessage(CUPSD_LOG_DEBUG2, "set_time: JobHistoryUpdate=%ld",
48214821
(long)JobHistoryUpdate);
48224822
}
4823+
4824+
job->dirty = 1;
4825+
cupsdMarkDirty(CUPSD_DIRTY_JOBS);
48234826
}
48244827

48254828

0 commit comments

Comments
 (0)