🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Eilon Gishri Fri, 04 Oct 1996 00:00
A small bug in crosspost
#11407
Author: Eilon Gishri
Date: Fri, 04 Oct 1996 00:00
47 lines
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    ======   =======    ===     ===
----------------------------------------------------------------------


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads