summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-02-02 15:51:01 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-02-02 15:51:01 +0100
commit38cb3926727c0ad29f3950db43ba12248e867b89 (patch)
tree5062cb4f81766ab983971126974a914e3fb4f360 /tools
parentacda58b561b92d21df685d03cc703b5792d9d72b (diff)
downloadrsyslog-38cb3926727c0ad29f3950db43ba12248e867b89.tar.gz
rsyslog-38cb3926727c0ad29f3950db43ba12248e867b89.tar.xz
rsyslog-38cb3926727c0ad29f3950db43ba12248e867b89.zip
replaced data type "bool" by "sbool" because this created some portability issues
Diffstat (limited to 'tools')
-rw-r--r--tools/omfile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/omfile.c b/tools/omfile.c
index 54221e0c..cb7d5c90 100644
--- a/tools/omfile.c
+++ b/tools/omfile.c
@@ -123,7 +123,7 @@ static uid_t dirGID; /* GID to be used for newly created directories */
static int bCreateDirs = 1;/* auto-create directories for dynaFiles: 0 - no, 1 - yes */
static int bEnableSync = 0;/* enable syncing of files (no dash in front of pathname in conf): 0 - no, 1 - yes */
static int iZipLevel = 0; /* zip compression mode (0..9 as usual) */
-static bool bFlushOnTXEnd = 1;/* flush write buffers when transaction has ended? */
+static sbool bFlushOnTXEnd = 1;/* flush write buffers when transaction has ended? */
static int64 iIOBufSize = IOBUF_DFLT_SIZE; /* size of an io buffer */
static int iFlushInterval = FLUSH_INTRVL_DFLT; /* how often flush the output buffer on inactivity? */
static uchar *pszTplName = NULL; /* name of the default template to use */
@@ -139,7 +139,7 @@ typedef struct _instanceData {
int fDirCreateMode; /* creation mode for mkdir() */
int bCreateDirs; /* auto-create directories? */
int bSyncFile; /* should the file by sync()'ed? 1- yes, 0- no */
- bool bForceChown; /* force chown() on existing files? */
+ sbool bForceChown; /* force chown() on existing files? */
uid_t fileUID; /* IDs for creation */
uid_t dirUID;
gid_t fileGID;
@@ -158,7 +158,7 @@ typedef struct _instanceData {
int iZipLevel; /* zip mode to use for this selector */
int iIOBufSize; /* size of associated io buffer */
int iFlushInterval; /* how fast flush buffer on inactivity? */
- bool bFlushOnTXEnd; /* flush write buffers when transaction has ended? */
+ sbool bFlushOnTXEnd; /* flush write buffers when transaction has ended? */
} instanceData;