[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/geas/src/oql oql.c
From: |
Reinhard Mueller |
Subject: |
gnue/geas/src/oql oql.c |
Date: |
Mon, 24 Sep 2001 12:05:12 -0400 |
CVSROOT: /cvsroot/gnue
Module name: gnue
Changes by: Reinhard Mueller <address@hidden> 01/09/24 12:05:11
Modified files:
geas/src/oql : oql.c
Log message:
Fixed endswith.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/geas/src/oql/oql.c.diff?tr1=1.68&tr2=1.69&r1=text&r2=text
Patches:
Index: gnue/geas/src/oql/oql.c
diff -u gnue/geas/src/oql/oql.c:1.68 gnue/geas/src/oql/oql.c:1.69
--- gnue/geas/src/oql/oql.c:1.68 Thu Sep 6 02:18:08 2001
+++ gnue/geas/src/oql/oql.c Mon Sep 24 12:05:11 2001
@@ -19,7 +19,7 @@
along with GEAS; if not, write to the Free Software Foundation, Inc.,
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- $Id: oql.c,v 1.68 2001/09/06 06:18:08 reinhard Exp $
+ $Id: oql.c,v 1.69 2001/09/24 16:05:11 reinhard Exp $
*/
#include "config.h"
@@ -236,7 +236,7 @@
break;
case q_endswith:
g_string_append (buf, " LIKE ");
- temp = g_strdup_printf ("%s%%", c->value);
+ temp = g_strdup_printf ("%%%s", c->value);
quoted = oql_quote_value (temp, db);
g_free (temp);
break;