Update of /cvsroot/monetdb/MonetDB5/src/mal
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30116

Modified Files:
        mal_module.mx 
Log Message:
Marking the elements found to early, such that pattern matching for
signatures failed.


Index: mal_module.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/mal/mal_module.mx,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- mal_module.mx       23 Aug 2007 19:02:37 -0000      1.54
+++ mal_module.mx       25 Aug 2007 07:46:00 -0000      1.55
@@ -865,11 +865,14 @@
                for(j=0;j<MAXSCOPE;j++)
                for(s= m->subscope[j]; s; s= s->peer)
                        if( strncmp(fcnnme,s->name,len2)==0 || *fcnnme=='*') {
-                               fnd=1;
+                               fnd=0;
                                if( completion ) {
                                        snprintf(buf,BUFSIZ," %s.%s", 
                                                ((*modnme=='*' || *modnme==0)? 
m->name:modnme),s->name);
-                                       if( tstDuplicate(msg,buf+1) ) continue;
+                                       if( tstDuplicate(msg,buf+1) ) {
+                                               fnd=1;
+                                               continue;
+                                       }
                                } else
                                if( doc) {
                                        char *v;
@@ -877,7 +880,6 @@
                                        
fcnDefinition(s->def,s->def->stmt[0],buf,FALSE);
                                        buf[0]=' ';
 
-                                       fnd=0;
                                        v= strstr(buf,"address");
                                        if( v) *v=0;
                                        if( tstDuplicate(msg,buf+1) ) fnd++;


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to