Blame SOURCES/cups-synconclose.patch

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