projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf4a74a
)
rpn2cql: handle \\ sequence
author
Adam Dickmeiss
<adam@indexdata.dk>
Sat, 27 Aug 2011 22:09:38 +0000
(
00:09
+0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Sat, 27 Aug 2011 22:09:38 +0000
(
00:09
+0200)
src/rpn2cql.c
patch
|
blob
|
history
diff --git
a/src/rpn2cql.c
b/src/rpn2cql.c
index
03963f4
..
aef1cfd
100644
(file)
--- a/
src/rpn2cql.c
+++ b/
src/rpn2cql.c
@@
-238,7
+238,7
@@
static int rpn2cql_simple(cql_transform_t ct,
if (sterm[i] == '\\' && i < lterm - 1)
{
i++;
- if (strchr("*?\"", sterm[i]))
+ if (strchr("*?\"\\", sterm[i]))
wrbuf_putc(w, '\\');
wrbuf_putc(w, sterm[i]);
}