46aab5f
--- cups-1.7.0/conf/cups-files.conf.in.synconclose	2013-11-04 11:43:27.989512747 +0000
46aab5f
+++ cups-1.7.0/conf/cups-files.conf.in	2013-11-04 11:43:37.830557404 +0000
46aab5f
@@ -9,7 +9,7 @@
46aab5f
 #FatalErrors @CUPS_FATAL_ERRORS@
46aab5f
 
46aab5f
 # Do we call fsync() after writing configuration or status files?
46aab5f
-#SyncOnClose No
46aab5f
+#SyncOnClose Yes
46aab5f
 
46aab5f
 # Default user and group for filters/backends/helper programs; this cannot be
46aab5f
 # any user or group that resolves to ID 0 for security reasons...
22be195
diff -up cups-1.7.0/doc/help/man-cups-files.conf.html.synconclose cups-1.7.0/doc/help/man-cups-files.conf.html
22be195
--- cups-1.7.0/doc/help/man-cups-files.conf.html.synconclose	2013-10-31 11:19:11.927824302 +0000
22be195
+++ cups-1.7.0/doc/help/man-cups-files.conf.html	2013-10-31 11:19:24.061871113 +0000
22be195
@@ -146,7 +146,7 @@ be found.
22be195
 
SyncOnClose No
22be195
 
22be195
 
Specifies whether the scheduler calls fsync(2) after writing configuration
22be195
-or state files. The default is No.
22be195
+or state files. The default is Yes.
22be195
 
22be195
 
SystemGroup group-name [group-name ...]
22be195
 
22be195
diff -up cups-1.7.0/doc/help/ref-cups-files-conf.html.in.synconclose cups-1.7.0/doc/help/ref-cups-files-conf.html.in
22be195
--- cups-1.7.0/doc/help/ref-cups-files-conf.html.in.synconclose	2013-10-31 11:19:33.382907073 +0000
22be195
+++ cups-1.7.0/doc/help/ref-cups-files-conf.html.in	2013-10-31 11:20:31.567131557 +0000
22be195
@@ -442,8 +442,8 @@ SyncOnClose Yes
22be195
 
22be195
 

The SyncOnClose directive determines whether the scheduler

22be195
 flushes changes to configuration and state files to disk. The default is
22be195
-No which relies on the operating system to schedule a suitable
22be195
-time to write changes to disk.

22be195
+Yes. The option No relies on the operating
22be195
+system to schedule a suitable time to write changes to disk.

22be195
 
22be195
 
Note:
22be195
 
22be195
diff -up cups-1.7.0/man/cups-files.conf.man.in.synconclose cups-1.7.0/man/cups-files.conf.man.in
22be195
--- cups-1.7.0/man/cups-files.conf.man.in.synconclose	2013-10-31 11:18:43.928716290 +0000
22be195
+++ cups-1.7.0/man/cups-files.conf.man.in	2013-10-31 11:19:00.870781647 +0000
22be195
@@ -126,7 +126,7 @@ SyncOnClose Yes
22be195
 .TP 5
22be195
 SyncOnClose No
22be195
 Specifies whether the scheduler calls \fIfsync(2)\fR after writing configuration
22be195
-or state files. The default is No.
22be195
+or state files. The default is Yes.
22be195
 .TP 5
22be195
 SystemGroup group-name [group-name ...]
22be195
 .br
22be195
diff -up cups-1.7.0/scheduler/conf.c.synconclose cups-1.7.0/scheduler/conf.c
22be195
--- cups-1.7.0/scheduler/conf.c.synconclose	2013-10-31 11:20:45.560185549 +0000
22be195
+++ cups-1.7.0/scheduler/conf.c	2013-10-31 11:20:56.679228452 +0000
22be195
@@ -738,7 +738,7 @@ cupsdReadConfiguration(void)
22be195
   ReloadTimeout	           = DEFAULT_KEEPALIVE;
22be195
   RootCertDuration         = 300;
22be195
   StrictConformance        = FALSE;
22be195
-  SyncOnClose              = FALSE;
22be195
+  SyncOnClose              = TRUE;
22be195
   Timeout                  = DEFAULT_TIMEOUT;
22be195
   WebInterface             = CUPS_DEFAULT_WEBIF;
22be195