🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #60424

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

#60424
From: Russ Allbery
Date: Sun, 15 Sep 2002 17:15
29 lines
2189 bytes
Jeffrey M Vinocur <jeff@litech.org> writes:
> Russ Allbery  <rra@stanford.edu> wrote:

>> 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.

Well, yeah, true.  If you go out of your way to break it...  :)

> 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);

Sounds good to me.  ("" is arguably a valid directory equivalent to "." on
some platforms, but I don't think we need to worry about that.)

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <yl8z23fa3r.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!nntp.stanford.edu!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> <am2cp6$qnf$3@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <yl8z23fa3r.fsf@windlord.stanford.edu>
Subject: Re: nnrpd error: cannot stat backoff_db '': No such file or directory?
Date: Sun, 15 Sep 2002 10:15:04 -0700
From: Russ Allbery <rra@stanford.edu>
References: <40a8aa92.0209111149.3f2501c3@posting.google.com> <40a8aa92.0209130716.7f21557@posting.google.com> <am0ho3$h18$9@puck.litech.org> <ylhegs15i3.fsf@windlord.stanford.edu> <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!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 28
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1032110104 17505 171.64.13.23 (15 Sep 2002 17:15:04 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter,
 sparc-sun-solaris2.6)
Cancel-Lock: sha1:LxhHsFwly1RwmoOwrXKOXzTd0mE=