-
-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cups: Add patch for bug where CUPS fails to save files to disk
Upstream report: apple/cups#5118 In addition to not saving files, this results in spam messages in the log once per second (Expiring subscriptions...) which is what led me to discover this bug. The patch was made by hand because the patch from the commit does not apply.
- Loading branch information
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/scheduler/main.c b/scheduler/main.c | ||
index 8925c8373..acf031684 100644 | ||
--- a/scheduler/main.c | ||
+++ b/scheduler/main.c | ||
@@ -893,7 +893,7 @@ main(int argc, /* I - Number of command-line args */ | ||
* Write dirty config/state files... | ||
*/ | ||
|
||
- if (DirtyCleanTime && current_time >= DirtyCleanTime && cupsArrayCount(Clients) == 0) | ||
+ if (DirtyCleanTime && current_time >= DirtyCleanTime) | ||
cupsdCleanDirty(); | ||
|
||
#ifdef __APPLE__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters