diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-17 16:25:24 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-17 16:25:24 +0100 |
commit | ba0f23182a55b26b2265d2138c707cbc7ddbb72e (patch) | |
tree | b11487a65eade6e5bfcbf15de4f979a0197db55b /tools | |
parent | d7faed130cb089343ea3d9875561582e6f1d469f (diff) | |
download | rsyslog-ba0f23182a55b26b2265d2138c707cbc7ddbb72e.tar.gz rsyslog-ba0f23182a55b26b2265d2138c707cbc7ddbb72e.tar.xz rsyslog-ba0f23182a55b26b2265d2138c707cbc7ddbb72e.zip |
new feature: "." action type added to support writing files to relative pathes
(this is primarily meant as a debug aid)
Diffstat (limited to 'tools')
-rw-r--r-- | tools/omfile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/omfile.c b/tools/omfile.c index daefa680..438f8c4a 100644 --- a/tools/omfile.c +++ b/tools/omfile.c @@ -633,7 +633,7 @@ ENDdoAction BEGINparseSelectorAct CODESTARTparseSelectorAct - if(!(*p == '$' || *p == '?' || *p == '/' || *p == '-')) + if(!(*p == '$' || *p == '?' || *p == '/' || *p == '.' || *p == '-')) ABORT_FINALIZE(RS_RET_CONFLINE_UNPROCESSED); CHKiRet(createInstance(&pData)); @@ -683,6 +683,7 @@ CODESTARTparseSelectorAct * need high-performance pipes at a later stage (unlikely). -- rgerhards, 2010-02-28 */ case '/': + case '.': CODE_STD_STRING_REQUESTparseSelectorAct(1) /* we now have *almost* the same semantics for files and pipes, but we still need * to know we deal with a pipe, because we must do non-blocking opens in that case |