Blame SOURCES/cups-synconclose.patch

ce62dc
diff -up cups-2.0.2/conf/cups-files.conf.in.LGOyhq cups-2.0.2/conf/cups-files.conf.in
ce62dc
--- cups-2.0.2/conf/cups-files.conf.in.LGOyhq	2015-02-10 13:51:24.912193296 +0100
ce62dc
+++ cups-2.0.2/conf/cups-files.conf.in	2015-02-10 13:52:49.400997262 +0100
ce62dc
@@ -7,7 +7,7 @@
ce62dc
 #FatalErrors @CUPS_FATAL_ERRORS@
ce62dc
 
ce62dc
 # Do we call fsync() after writing configuration or status files?
ce62dc
-#SyncOnClose No
ce62dc
+#SyncOnClose Yes
ce62dc
 
ce62dc
 # Default user and group for filters/backends/helper programs; this cannot be
ce62dc
 # any user or group that resolves to ID 0 for security reasons...
ce62dc
diff -up cups-2.0.2/doc/help/man-cups-files.conf.html.LGOyhq cups-2.0.2/doc/help/man-cups-files.conf.html
ce62dc
--- cups-2.0.2/doc/help/man-cups-files.conf.html.LGOyhq	2015-02-10 13:52:49.400997262 +0100
ce62dc
+++ cups-2.0.2/doc/help/man-cups-files.conf.html	2015-02-10 13:53:07.057747311 +0100
ce62dc
@@ -136,7 +136,7 @@ The default is "/etc/cups".
ce62dc
 
Specifies whether the scheduler calls
ce62dc
 fsync(2)
ce62dc
 after writing configuration or state files.
ce62dc
-The default is "No".
ce62dc
+The default is "Yes".
ce62dc
 
SystemGroup group-name [ ... group-name ]
ce62dc
 
Specifies the group(s) to use for @SYSTEM group authentication.
ce62dc
 The default contains "admin", "lpadmin", "root", "sys", and/or "system".
ce62dc
diff -up cups-2.0.2/man/cups-files.conf.man.in.LGOyhq cups-2.0.2/man/cups-files.conf.man.in
ce62dc
--- cups-2.0.2/man/cups-files.conf.man.in.LGOyhq	2015-02-10 13:52:49.400997262 +0100
ce62dc
+++ cups-2.0.2/man/cups-files.conf.man.in	2015-02-10 13:53:23.753510964 +0100
ce62dc
@@ -201,7 +201,7 @@ The default is "/etc/cups".
ce62dc
 Specifies whether the scheduler calls
ce62dc
 .BR fsync (2)
ce62dc
 after writing configuration or state files.
ce62dc
-The default is "No".
ce62dc
+The default is "Yes".
ce62dc
 .\"#SystemGroup
ce62dc
 .TP 5
ce62dc
 \fBSystemGroup \fIgroup-name \fR[ ... \fIgroup-name\fR ]
ce62dc
diff -up cups-2.0.2/scheduler/conf.c.LGOyhq cups-2.0.2/scheduler/conf.c
ce62dc
--- cups-2.0.2/scheduler/conf.c.LGOyhq	2015-02-10 13:51:24.991192177 +0100
ce62dc
+++ cups-2.0.2/scheduler/conf.c	2015-02-10 13:52:49.401997248 +0100
ce62dc
@@ -717,7 +717,7 @@ cupsdReadConfiguration(void)
ce62dc
   RootCertDuration         = 300;
ce62dc
   Sandboxing               = CUPSD_SANDBOXING_STRICT;
ce62dc
   StrictConformance        = FALSE;
ce62dc
-  SyncOnClose              = FALSE;
ce62dc
+  SyncOnClose              = TRUE;
ce62dc
   Timeout                  = DEFAULT_TIMEOUT;
ce62dc
   WebInterface             = CUPS_DEFAULT_WEBIF;
ce62dc