Hello!


Please find a patch against conf.c in attachement.


It fixes the problem that indexer didn't stop
when there is a wrong syntax in for example include.conf file, 
included from main indexer.conf. Indexer just ignored the rest
of wrong include.conf file and continued to parse upper level
.conf file. So a part of commands might be ignored without 
any warnings.


Thanks Laurent Levier which was noticing unexpected indexer
behaviour with complex configuration with many includes!
--- conf.c.b    Mon Feb 26 19:58:17 2001
+++ conf.c      Wed Feb 28 18:12:47 2001
@@ -496,6 +496,7 @@
                                if(*str1=='/')strcpy(str,str1);
                                else    sprintf(str,"%s/%s",UDM_CONF_DIR,str1);
                                UdmLoadConfig(Conf,str,config_level+1,load_flags);
+                               if(Conf->errcode)return(Conf);
                        }
                }else
                if(!UDM_STRNCASECMP(str,"MirrorRoot")){

Reply via email to