diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-12-19 07:40:01 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-12-19 07:40:01 +0000 |
commit | de21ac3d42029a595f8fa3d809c930e9a8a09ca0 (patch) | |
tree | 67ee83671be82274f920b043187c0eb1edbf33ee /main/augeas/regexp.c.patch | |
parent | a3bc6bac46069e6e03f9309e05a10e8062e05c64 (diff) | |
download | aports-de21ac3d42029a595f8fa3d809c930e9a8a09ca0.tar.bz2 aports-de21ac3d42029a595f8fa3d809c930e9a8a09ca0.tar.xz |
main/augeas: upgrade to 0.10.0
Diffstat (limited to 'main/augeas/regexp.c.patch')
-rw-r--r-- | main/augeas/regexp.c.patch | 15 |
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 0000000000..87ba795ba6 --- /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 |