Blame SOURCES/rsyslog-8.24.0-rhbz1303617-imfile-wildcards.patch

a856a8
From 75dc28c1cb4d3988608352f83f7dc420c17d7c64 Mon Sep 17 00:00:00 2001
a856a8
From: Tomas Sykora <tosykora@redhat.com>
a856a8
Date: Thu, 24 Nov 2016 10:27:48 -0500
a856a8
Subject: [PATCH 2/4] Rebased from:
a856a8
 rsyslog-7.4.7-rhbz1303617-imfile-wildcards.patch
a856a8
a856a8
Resolves:
a856a8
rhbz#1303617
a856a8
a856a8
-this patch was already upstreamed, we just have different default option (polling) than upstream
a856a8
---
a856a8
 plugins/imfile/imfile.c | 2 +-
a856a8
 1 file changed, 1 insertion(+), 1 deletion(-)
a856a8
a856a8
diff --git a/plugins/imfile/imfile.c b/plugins/imfile/imfile.c
a856a8
index 519768c..09a321e 100644
a856a8
--- a/plugins/imfile/imfile.c
a856a8
+++ b/plugins/imfile/imfile.c
a856a8
@@ -1121,7 +1121,7 @@ BEGINsetModCnf
a856a8
 	struct cnfparamvals *pvals = NULL;
a856a8
 	int i;
a856a8
 CODESTARTsetModCnf
a856a8
-	loadModConf->opMode = OPMODE_INOTIFY; /* new style config has different default! */
a856a8
+	loadModConf->opMode = OPMODE_POLLING; /* Difference from upstream, upstream has default option INOTIFY */
a856a8
 	pvals = nvlstGetParams(lst, &modpblk, NULL);
a856a8
 	if(pvals == NULL) {
a856a8
 		errmsg.LogError(0, RS_RET_MISSING_CNFPARAMS, "imfile: error processing module "
a856a8
-- 
a856a8
2.7.4
a856a8