]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
The scheduler did not write out dirty configuration and state files if there
authorMichael R Sweet <michaelrsweet@gmail.com>
Wed, 8 Nov 2017 22:30:45 +0000 (17:30 -0500)
committerMichael R Sweet <michaelrsweet@gmail.com>
Wed, 8 Nov 2017 22:30:45 +0000 (17:30 -0500)
were open client connections (Issue #5118)

(reverted b393bc2)

CHANGES.md
scheduler/main.c

index e8ad74f1f16191fab01666fe02b770f47c0c7618..9180ab32ce0053404087c287b4996f09293334a9 100644 (file)
@@ -24,6 +24,8 @@ Changes in CUPS v2.3b1
   printer cannot be found (Issue #5096)
 - The `lpadmin` command now provides a better error message when an unsupported
   System V interface script is used (Issue #5111)
+- The scheduler did not write out dirty configuration and state files if there
+  were open client connections (Issue #5118)
 - The `SSLOptions` directive now supports `MinTLS` and `MaxTLS` options to
   control the minimum and maximum TLS versions that will be allowed,
   respectively (Issue #5119)
index 8925c8373336d9a4855ca8e5b0606dc4c6968ef3..78bd757e13b6cdf6c933343edbf34259d1ba5eb7 100644 (file)
@@ -4,11 +4,8 @@
  * Copyright 2007-2017 by Apple Inc.
  * Copyright 1997-2007 by Easy Software Products, all rights reserved.
  *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law.  Distribution and use rights are outlined in the file "LICENSE.txt"
- * "LICENSE" which should have been included with this file.  If this
- * file is missing or damaged, see the license at "http://www.cups.org/".
+ * Licensed under Apache License v2.0.  See the file "LICENSE" for more
+ * information.
  */
 
 /*
@@ -893,7 +890,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__