INN commit: trunk (doc/pod/ctlinnd.pod innd/cc.c)

INN Commit Russ_Allbery at isc.org
Sat May 16 09:10:22 UTC 2009


    Date: Saturday, May 16, 2009 @ 02:10:21
  Author: iulius
Revision: 8465

It is now useless to reload the overview.fmt file because
it does not exist any longer.  The overview configuration
is in inn.conf.

see #101

Modified:
  trunk/doc/pod/ctlinnd.pod
  trunk/innd/cc.c

---------------------+
 doc/pod/ctlinnd.pod |    2 +-
 innd/cc.c           |   10 ++--------
 2 files changed, 3 insertions(+), 9 deletions(-)

Modified: doc/pod/ctlinnd.pod
===================================================================
--- doc/pod/ctlinnd.pod	2009-05-16 00:08:53 UTC (rev 8464)
+++ doc/pod/ctlinnd.pod	2009-05-16 09:10:21 UTC (rev 8465)
@@ -332,7 +332,7 @@
 
 If I<what> is the empty string or the word C<all>, everything is
 reloaded.  If it is the word C<history>, the history database is closed
-and re-opened.  If it is the word C<incoming.conf> or C<overvew.fmt>, the
+and re-opened.  If it is the word C<incoming.conf>, the
 corresponding file is reloaded.  If it is the word C<active> or
 C<newsfeeds>, both the F<active> and F<newsfeeds> files are reloaded,
 which will also cause all outgoing feeds to be flushed and restarted.

Modified: innd/cc.c
===================================================================
--- innd/cc.c	2009-05-16 00:08:53 UTC (rev 8464)
+++ innd/cc.c	2009-05-16 09:10:21 UTC (rev 8465)
@@ -1299,7 +1299,6 @@
 static const char *
 CCreload(char *av[])
 {
-    static char	BADSCHEMA[] = "1 Can't read schema";
     const char *p;
 
 #ifdef DO_PERL
@@ -1321,8 +1320,6 @@
 	    InndHisOpen();
 	ICDwrite();
 	ICDsetup(true);
-	if (!ARTreadschema())
-	    return BADSCHEMA;
 #ifdef DO_PERL
         path = concatpath(innconf->pathfilter, INN_PATH_PERL_FILTER_INND);
         PERLreadfilter(path, "filter_art") ;
@@ -1346,11 +1343,8 @@
 	InndHisClose();
 	InndHisOpen();
     }
-    else if (strcmp(p, "incoming.conf") == 0)
-	RCreadlist();
-    else if (strcmp(p, "overview.fmt") == 0) {
-	if (!ARTreadschema())
-	    return BADSCHEMA;
+    else if (strcmp(p, "incoming.conf") == 0) {
+        RCreadlist();
     }
 #if 0 /* we should check almost all innconf parameter, but the code
          is still incomplete for innd, so just commented out */




More information about the inn-committers mailing list