From 1528b5eb5d95e8a0cb788b30af87178ca6534cf9 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 23 Jun 2003 12:38:39 +0000 Subject: [PATCH] Fix CCL->RPN code for attribute strings. --- debian/changelog | 6 ++++++ zutil/yaz-ccl.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 98f8b35..b4dd977 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +yaz (2.0.3-3) unstable; urgency=low + + * Fix CCL->RPN code for attribute strings. + + -- Adam Dickmeiss Mon, 23 Jun 2003 14:38:01 +0200 + yaz (2.0.3-2) unstable; urgency=low * String attributes for CCL parser. diff --git a/zutil/yaz-ccl.c b/zutil/yaz-ccl.c index 5b47e79..8ed2177 100644 --- a/zutil/yaz-ccl.c +++ b/zutil/yaz-ccl.c @@ -2,7 +2,7 @@ * Copyright (c) 1996-2003, Index Data. * See the file LICENSE for details. * - * $Id: yaz-ccl.c,v 1.20 2003-06-23 10:22:21 adam Exp $ + * $Id: yaz-ccl.c,v 1.21 2003-06-23 12:38:39 adam Exp $ */ #include @@ -124,7 +124,7 @@ void ccl_pquery (WRBUF w, struct ccl_rpn_node *p) wrbuf_puts (w, tmpattr); break; case CCL_RPN_ATTR_STRING: - sprintf(tmpattr, "%d ", att->type); + sprintf(tmpattr, "%d=", att->type); wrbuf_puts (w, tmpattr); wrbuf_puts(w, att->value.str); break; -- 1.7.10.4