🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #79672

Re: Some thoughts on times

#79672
From: Alexander Bartolich
Date: Tue, 18 Nov 2008 18:44
32 lines
2583 bytes
Ray Banana schrieb:
> Thus spake "John F. Morse" <xanadu.bbs@example.invalid>
>> [...]
>> news@news7:/usr/lib/news/bin$ innreport -f /etc/news
>> WARNING: can't make graphs as required.
>>         Install GD.pm or disable this option.
>> Can't find/load .pm : syntax error at (eval 3) line 1, at EOF
>> news@news7:/usr/lib/news/bin$ time innreport -f /etc/news -nog
>> Can't find/load .pm : syntax error at (eval 3) line 1, at EOF
>
> That's what I get, too, if I call innreport this way.
>
> Actually, innreport expects the full path *and* file name for it's
> config file after -f :

The problem is that you can open and read from a directory
as if it were a file.

Index: scripts/innreport.in
===================================================================
--- scripts/innreport.in        (revision 8174)
+++ scripts/innreport.in        (working copy)
@@ -2716,6 +2716,7 @@
     print "};\n\n" if $DEBUG;
   }
   close FILE;
+  die "Configuration file $file is empty." if ($linenum < 1);
   $output{'_order_'} = \@list;
 }

-- 
usingwhitespaceisracism
Technical Details
Message-ID: <gfv2f4$rrp$2@news.albasani.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.musoftware.de!wum.musoftware.de!news.albasani.net!not-for-mail
References: <gfpide$p3n$1@optima7.xanadu-bbs.net> <80od0flhog.fsf@banana.shacknet.nu> <gfpm2s$puk$1@optima7.xanadu-bbs.net> <gfpobr$j4s$1@news.trigofacile.com> <gfpus9$s41$1@optima7.xanadu-bbs.net> <gfq31v$4m1$1@news.trigofacile.com> <gfuv39$42i$1@optima7.xanadu-bbs.net> <80skpo524w.fsf@banana.shacknet.nu>

Show Full Headers
Complete Article Headers
Message-ID: <gfv2f4$rrp$2@news.albasani.net>
Subject: Re: Some thoughts on times
Date: Tue, 18 Nov 2008 18:44:52 +0000
From: Alexander Bartolich <alexander.bartolich@gmx.at>
References: <gfpide$p3n$1@optima7.xanadu-bbs.net> <80od0flhog.fsf@banana.shacknet.nu> <gfpm2s$puk$1@optima7.xanadu-bbs.net> <gfpobr$j4s$1@news.trigofacile.com> <gfpus9$s41$1@optima7.xanadu-bbs.net> <gfq31v$4m1$1@news.trigofacile.com> <gfuv39$42i$1@optima7.xanadu-bbs.net> <80skpo524w.fsf@banana.shacknet.nu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.musoftware.de!wum.musoftware.de!news.albasani.net!not-for-mail
Newsgroups: news.software.nntp
Organization: albasani.net
Lines: 32
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: news.albasani.net
 /12zj31AKBq3D/YzwwOxzWqHriy7rAQ8tkJC1wwvI3m+7uAsqeVhYJth3uXntlO4fdULj+P0tgUAl96PiYLd1ro7WH+WzeteegDkzS1Ih7lkj7Zpi6TeRz7eJ9E89wpd
X-Complaints-To: abuse@albasani.net
NNTP-Posting-Date: Tue, 18 Nov 2008 18:44:52 +0000 (UTC)
X-User-ID: hgbdWMEK7ejGwqr+I86a0/VR2lmZigsP43PpMczT1HI=
Cancel-Lock: sha1:iR+hNPIku0kVSiubq2ySCZ2uUZA=
 sha1:JMPSQqlEk3EsONccrfcRPnKTLdc=
User-Agent: slrn/0.9.9 (Linux)
X-NNTP-Posting-Host: DhRVtwOfCj1bwxNcMwv1/LzNF7ediElHbAHRfBH961g=