🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #11640

crosspost bugs

#11640
From: Fu Bar
Date: Mon, 14 Oct 1996 00:00
30 lines
1566 bytes
I'm running inn unoff4 plus some additional patches on linux 2.0.22 (plus
some additional patches :), and just setup crosspost today.  I noticed
that by default crosspost does an fsync on every first article. Is there a
reason for that?  It seems to run faster without the fsync.

I noticed the -s option for not fsyncing, tried it, and found that it made
crosspost not work.  It turns out, this is a bug in the getopt() in
crosspost.

The line:
    while ((i = getopt(ac, av, "Dds:")) != EOF)

should be:
    while ((i = getopt(ac, av, "D:ds")) != EOF)

Good thing I wasn't trying to use the -D arg :)

Was this a known bug?  I see no mention of it at the UNOFF web site.
I didn't want to recompile it just now, so I'm running with:
crosspost:*:Tc,Ap,WR:/usr/local/news/bin/crosspost -s duh

Also, the man page for crosspost is missing a comma in the flags.  It
suggests:

crosspost:*:Tc,ApWR:/usr/local/news/bin/crosspost



Technical Details
Message-ID: <Pine.LNX.3.95.961014002005.29108n-100000@yoda.fdt.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.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <Pine.LNX.3.95.961014002005.29108n-100000@yoda.fdt.net>
Subject: crosspost bugs
Date: Mon, 14 Oct 1996 00:00:00 +0000
From: Fu Bar <fubar@gnv.fdt.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.mbox.zip!not-for-mail
X-Deja-AN: 189250238
Distribution: inet
X-sender: fubar@yoda.fdt.net
Content-type: TEXT/PLAIN; charset=US-ASCII
Organization: Florida Digital Turnpike
Mime-version: 1.0
Newsgroups: news.software.nntp