Alex,

Yeah !

Parsers are called, syslog seems correct, and regex are managed.

This was THE main problem !

That's great !

Now waiting for PHP 4.0.5 to be able to search :)







Alexander Barkov <[EMAIL PROTECTED]> on 02/28/2001 03:20:15 PM
To:   Laurent Levier, [EMAIL PROTECTED]
cc:
Subject:  Re: Bug reportS



  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")){




___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]

Reply via email to