summaryrefslogtreecommitdiff
path: root/scheduler/conf.h
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2013-07-26 21:27:27 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2013-07-26 21:27:27 +0000
commit8a2596692595a893119a1637fd93e729f81fec66 (patch)
tree67e2c88e9d99994054a8badd1a239c95f4efb73f /scheduler/conf.h
parent1d670c398780843ee6b79ffef8fb443962079804 (diff)
downloadcups-8a2596692595a893119a1637fd93e729f81fec66.tar.gz
Added a SyncOnClose directive to cups-files.conf to force cupsd to call fsync
before closing any configuration/state files it writes (<rdar://problem/14523043>) git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11201 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'scheduler/conf.h')
-rw-r--r--scheduler/conf.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/scheduler/conf.h b/scheduler/conf.h
index e095ecfaa..23a93d6ef 100644
--- a/scheduler/conf.h
+++ b/scheduler/conf.h
@@ -3,7 +3,7 @@
*
* Configuration file definitions for the CUPS scheduler.
*
- * Copyright 2007-2012 by Apple Inc.
+ * Copyright 2007-2013 by Apple Inc.
* Copyright 1997-2007 by Easy Software Products, all rights reserved.
*
* These coded instructions, statements, and computer programs are the
@@ -172,6 +172,8 @@ VAR int ClassifyOverride VALUE(0),
/* Which errors are fatal? */
StrictConformance VALUE(FALSE),
/* Require strict IPP conformance? */
+ SyncOnClosee VALUE(FALSE),
+ /* Call fsync() when closing files? */
LogFilePerm VALUE(0644);
/* Permissions for log files */
VAR cupsd_loglevel_t LogLevel VALUE(CUPSD_LOG_WARN);