summaryrefslogtreecommitdiffstats
path: root/main/augeas/regexp.c.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/augeas/regexp.c.patch')
-rw-r--r--main/augeas/regexp.c.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/main/augeas/regexp.c.patch b/main/augeas/regexp.c.patch
new file mode 100644
index 000000000..87ba795ba
--- /dev/null
+++ b/main/augeas/regexp.c.patch
@@ -0,0 +1,15 @@
+X-Git-Url: http://git.fedorahosted.org/git?p=augeas.git;a=blobdiff_plain;f=src%2Fregexp.c;h=811087d8f2de1d7adc80b4d9308dc7c9f3827c99;hp=cf0ea5d37e21bed27295bd788fc474ba900a910d;hb=021ea39f8e400225e2d01b4c62eb9d56404f2ecd;hpb=1d5b19760d4d92153a8eb9279bf9709b7ead20c7
+
+diff --git a/src/regexp.c b/src/regexp.c
+index cf0ea5d..811087d 100644
+--- a/src/regexp.c
++++ b/src/regexp.c
+@@ -50,7 +50,7 @@ char *regexp_escape(const struct regexp *r) {
+ ret = fa_restrict_alphabet(r->pattern->str, strlen(r->pattern->str),
+ &nre, &nre_len, 2, 1);
+ if (ret == 0) {
+- pat = escape(nre, nre_len);
++ pat = escape(nre, nre_len, RX_ESCAPES);
+ free(nre);
+ }
+ #endif