X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=index%2Fzrpn.c;h=a97e265ae9d791dbb3aeb1cf283fa3dd5ad645d2;hp=e7580a1654dc7552633f5e41a354558de123a328;hb=52365e1ba3d9ffe33ed10788a8a91cb4fa7d6133;hpb=9fce226051f8b951b3c6f424fbdbd996ceb42007 diff --git a/index/zrpn.c b/index/zrpn.c index e7580a1..a97e265 100644 --- a/index/zrpn.c +++ b/index/zrpn.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: zrpn.c,v $ - * Revision 1.83 1998-09-02 13:53:19 adam + * Revision 1.84 1998-09-18 12:41:00 adam + * Fixed bug with numerical relations. + * + * Revision 1.83 1998/09/02 13:53:19 adam * Extra parameter decode added to search routines to implement * persistent queries. * @@ -651,7 +654,7 @@ static void gen_regular_rel (char *dst, int val, int islt) } else { - strcpy (dst, "((-"); + strcpy (dst, "(-("); islt = 0; } val = -val;