From: Adam Dickmeiss Date: Sat, 27 Aug 2011 22:09:38 +0000 (+0200) Subject: rpn2cql: handle \\ sequence X-Git-Tag: v4.2.13~13 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=ed6736a60464a131d0edb37467c15cf010bc588f rpn2cql: handle \\ sequence --- diff --git a/src/rpn2cql.c b/src/rpn2cql.c index 03963f4..aef1cfd 100644 --- 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]); }