commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnue/geas/src connection.c oql/oql.c


From: Treshna Enterprises
Subject: gnue/geas/src connection.c oql/oql.c
Date: Mon, 02 Jul 2001 01:20:14 -0700

CVSROOT:        /cvs
Module name:    gnue
Changes by:     Treshna Enterprises <address@hidden>    01/07/02 01:20:14

Modified files:
        geas/src       : connection.c 
        geas/src/oql   : oql.c 

Log message:
        bug fix for compile error of reverse lists

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/geas/src/connection.c.diff?cvsroot=OldCVS&tr1=1.64&tr2=1.65&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/geas/src/oql/oql.c.diff?cvsroot=OldCVS&tr1=1.64&tr2=1.65&r1=text&r2=text

Patches:
Index: gnue/geas/src/connection.c
diff -u gnue/geas/src/connection.c:1.64 gnue/geas/src/connection.c:1.65
--- gnue/geas/src/connection.c:1.64     Thu Jun 28 21:08:25 2001
+++ gnue/geas/src/connection.c  Mon Jul  2 01:20:14 2001
@@ -19,7 +19,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  
    
-   $Id: connection.c,v 1.64 2001/06/29 04:08:25 treshna Exp $
+   $Id: connection.c,v 1.65 2001/07/02 08:20:14 treshna Exp $
  
 */
 
@@ -871,8 +871,8 @@
   g_free (temp);
 
   /* nasty, but hey, it should work */
-  if( c->desc ) reverse = !reverse;
-
+/*  if( c->desc ) reverse = !reverse;
+*/
   temp = oc_get_object_field (ob, "logic");
   if (temp[0] == '1')
     logic = oql_and;
Index: gnue/geas/src/oql/oql.c
diff -u gnue/geas/src/oql/oql.c:1.64 gnue/geas/src/oql/oql.c:1.65
--- gnue/geas/src/oql/oql.c:1.64        Thu Jun 28 21:08:25 2001
+++ gnue/geas/src/oql/oql.c     Mon Jul  2 01:20:14 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.64 2001/06/29 04:08:25 treshna Exp $
+  $Id: oql.c,v 1.65 2001/07/02 08:20:14 treshna Exp $
 */
 
 #include "config.h"
@@ -593,7 +593,7 @@
        * else       : if descending, then sort in descending order
        */
       cl = odl_find_class( all_classes , loadclass , NULL );
-      if ( (q->reversesearch && !cl->desc) || (!q->reversesearch && cl->desc) )
+      if ( (q->reversesearch) || (!q->reversesearch) ) /*  commented out code 
that didn't work, which was cl->desc */
         g_string_append (buf, " DESC");
     }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]