diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-09-13 09:30:20 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-09-13 09:30:20 +0200 |
commit | 10bef02e8f8f6bec4f1c18d9c634aa6927f4611a (patch) | |
tree | 778f982d6aa0d1ccda31c8b011418587c04437af /grammar/rainerscript.h | |
parent | 4f0672f601c74cb60ae32dfa67cccc3336dd674d (diff) | |
download | rsyslog-10bef02e8f8f6bec4f1c18d9c634aa6927f4611a.tar.gz rsyslog-10bef02e8f8f6bec4f1c18d9c634aa6927f4611a.tar.bz2 rsyslog-10bef02e8f8f6bec4f1c18d9c634aa6927f4611a.zip |
bugfix: missing support for escape sequences in RainerScript
Only \' was supported. Now the usual set is supported. Note that v5
used \x as escape where x was any character (e.g. "\n" meant "n" and NOT
LF). This also means there is some incompatibility to v5 for well-know
sequences. Better break it now than later.
Diffstat (limited to 'grammar/rainerscript.h')
-rw-r--r-- | grammar/rainerscript.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/grammar/rainerscript.h b/grammar/rainerscript.h index e11ae62f..a52b3fa8 100644 --- a/grammar/rainerscript.h +++ b/grammar/rainerscript.h @@ -249,6 +249,7 @@ void cnfparamsPrint(struct cnfparamblk *params, struct cnfparamvals *vals); void varDelete(struct var *v); void cnfparamvalsDestruct(struct cnfparamvals *paramvals, struct cnfparamblk *blk); void cnfcfsyslinelstDestruct(struct cnfcfsyslinelst *cfslst); +void unescapeStr(uchar *s, int len); /* debug helper */ void cstrPrint(char *text, es_str_t *estr); |