Article View: news.software.nntp
Article #11407A small bug in crosspost
From: Eilon Gishri
Date: Fri, 04 Oct 1996 00:00
Date: Fri, 04 Oct 1996 00:00
47 lines
2252 bytes
2252 bytes
Hi,
I found a small bug in crosspost while trying to use '-s' with it
thus skipping fsync(). Using version 1.4u4.
/* Parse JCL. */
while ((i = getopt(ac, av, "Dds:")) != EOF)
Should be:
while ((i = getopt(ac, av, "D:ds")) != EOF)
switch (i) {
default:
Usage();
/* NOTREACHED */
case 'D':
Dir = optarg; /* specify spool path */
break;
case 'd':
debug = TRUE;
break;
case 's':
syncfiles = FALSE; /* do not fsync articles */
break;
}
ac -= optind;
av += optind;
--
+--------------------------------------------------------------------+
| Eilon Gishri Unix System Administrator|
| I.B.M. Israel Internet Project|
| 2, Weizmann St. Tel-Aviv 64239 ISRAEL|
| Fax : +972-3-6978115 Phone: +972-3-6978802|
| E-Mail: eilon@ibm.net.il |
+--------------------------------------------------------------------+
IBM Israel
2, Weizmann St.
Tel Aviv 61336 ====== ======= === ===
http://www.ibm.net.il/ ====== ======== ==== ====
Dialup registration: 177-022-3993 == == == ==== ====
Company services: 03-6978663 == ====== == === ==
Internet sales fax: 03-6978115 == == === == = ==
Enquiries: info@ibm.net.il ====== ======== === ===
Technical support: noc@ibm.net.il ====== ======= === ===
----------------------------------------------------------------------
Technical Details
Message-ID:
<53481i$mt4@news.ibm.net.il>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-mailShow Full Headers
Complete Article Headers
Message-ID: <53481i$mt4@news.ibm.net.il> Subject: A small bug in crosspost Date: Fri, 04 Oct 1996 00:00:00 +0000 From: Eilon Gishri <eilon@ibm.net.il> 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: 187629964 Content-type: text/plain; charset=US-ASCII Organization: IBM Israel Keywords: crosspost Mime-version: 1.0 Newsgroups: news.software.nntp Nntp-posting-user: eilon