Update of /cvsroot/monetdb/pathfinder/modules/pftijah
In directory 
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv28564/modules/pftijah

Modified Files:
      Tag: M5XQ
        pftijah_stem.mx 
Log Message:
propagated changes of Friday Feb 12 2010
from the XQFT branch to the M5XQ branch

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2010/02/12 - sjoerd: modules/pftijah/pftijah_stem.mx,1.15.12.2
  propagated changes of Friday Feb 12 2010
  from the development trunk to the XQFT branch
  
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2010/02/12 - sjoerd: modules/pftijah/pftijah_stem.mx,1.17
    propagated changes of Wednesday Feb 10 2010 - Friday Feb 12 2010
    from the Feb2010 branch to the development trunk
  
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      2010/02/10 - sjoerd: modules/pftijah/pftijah_stem.mx,1.15.14.1
      Accept a NULL name, since that can happen in loadTijahContext.
      Found by Coverity.
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Index: pftijah_stem.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/pftijah_stem.mx,v
retrieving revision 1.15.2.1
retrieving revision 1.15.2.2
diff -u -d -r1.15.2.1 -r1.15.2.2
--- pftijah_stem.mx     18 Jan 2010 14:48:06 -0000      1.15.2.1
+++ pftijah_stem.mx     12 Feb 2010 13:34:08 -0000      1.15.2.2
@@ -776,10 +776,11 @@
  */
 
 tjStemCtx* getStemmingContext(char* name) {
-       (void) name;
        tjStemCtx* res;
 
-       if ( strcmp(name,"nostemming")==0 )
+       if (name == NULL)
+           res = & nostemming;
+       else if ( strcmp(name,"nostemming")==0 )
            res = & nostemming;
        else if ( strcmp(name,"default")==0 )
            res = & nostemming;


------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to