ports/sysutils/rsyslog8/files/patch-grammar_rainerscript.c
Matthew Seaman a7d3428b14 Fix for the omprog module -- calling execve() with a NULL second
argument doesn't work.  Instead supply an argv list with just a
terminating NULL entry.

Submitted upstream as https://github.com/rsyslog/rsyslog/pull/1618

Patch files regenerated by 'make makepatch'

Reported by:	(Chun-Tien Chang) <tcs@kitty.2y.idv.tw>
2017-06-14 17:38:26 +00:00

10 lines
259 B
C

--- grammar/rainerscript.c.orig 2017-04-28 07:04:53 UTC
+++ grammar/rainerscript.c
@@ -35,6 +35,7 @@
#include <sys/stat.h>
#include <sys/types.h>
#include <libestr.h>
+#include <unistd.h>
#include "rsyslog.h"
#include "rainerscript.h"
#include "conf.h"