🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #60423

Re: nnrpd error: cannot stat backoff_db '': No such file or directory?

#60423
From: Jeffrey M. Vinocur
Date: Sun, 15 Sep 2002 16:33
28 lines
1927 bytes
In article <ylhegs15i3.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
>Jeffrey M Vinocur <jeff@litech.org> writes:
>
>> Try commenting out the backoffdb: line entirely, instead of
>> setting it to blank.
>
>> (Russ, if I'm right...is this a bug?)
>
>Yeah, definitely, although one that's probably fixed with the new parser.

I'm not sure, actually.  I mean, if you have

  backoffdb: ""

surely the parser treats that differently than no value at all.
Anyway, better safe than sorry, I'll commit this:

     curaccess->backoff_db = NULL;
     -    if (innconf->backoffdb)
     +    if (innconf->backoffdb && *innconf->backoffdb != '\0')
             curaccess->backoff_db = COPY(innconf->backoffdb);


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <am2cp6$qnf$3@puck.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!lnsnews.lns.cornell.edu!news.litech.org!not-for-mail
References: <40a8aa92.0209111149.3f2501c3@posting.google.com> <40a8aa92.0209130716.7f21557@posting.google.com> <am0ho3$h18$9@puck.litech.org> <ylhegs15i3.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <am2cp6$qnf$3@puck.litech.org>
Subject: Re: nnrpd error: cannot stat backoff_db '': No such file or directory?
Date: Sun, 15 Sep 2002 16:33:42 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <40a8aa92.0209111149.3f2501c3@posting.google.com> <40a8aa92.0209130716.7f21557@posting.google.com> <am0ho3$h18$9@puck.litech.org> <ylhegs15i3.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!lnsnews.lns.cornell.edu!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 27
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1032107622 27375 208.48.41.224 (15 Sep 2002 16:33:42 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Sun, 15 Sep 2002 16:33:42 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)