🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
1 messages
1 total messages Started by Rene Scholz Thu, 14 Mar 1996 00:00
S: patch for db.c for supress crosspostings (nn-6.5.0b3)
#7530
Author: Rene Scholz
Date: Thu, 14 Mar 1996 00:00
45 lines
1983 bytes
	Hello,

I use nn-6.5.0b3 and I'm lookinf for the patch described in the nn-FAQ:

Subject: 05.06 !Why am I reading cross-posted articles more than once?
From: Alex Martelli <martelli@cadlab.cadlab.it>
Date: Wed, 1 Nov 1995 22:13:13 GMT
  One bug in db.c (nn 6.5b3) causes this:
  diff -r1.1 db.c
  1043c1043
  <           if (*tmp == ':' || *tmp == '\0' || *tmp == '\t')
  ---
  >           if (*tmp == ':' || *tmp == '\0' || *tmp == '\t') {
  1050a1051
  >             }


Well, this line is in my db.c at line 1477. I couldn't figure out how to
applay the patch.
Here is the part from my db.c:

        /* Zap colon at end of current entry. */
        for (tmp = curg ; ; ++tmp) {
            if (*tmp == ':' || *tmp == '\0' || *tmp == '\t')     <------ line 1477 !!
                break;
        }
        if (*tmp != ':') break;         /* malformed entry, punt. */
        *tmp = '\0';
 

I would like to get a patch, which I can use with "patch",
thanks,

rene'
--

=> Wenn Debuggen der Vorgang ist, Fehler aus einem Programm auszubauen,    <=
=> dann ist Programmieren der Vorgang, Fehler in ein Programm einzubauen ! <=

		     on IRC also known as *** Voland ***
 .--------------------------------------------------------------------------.
 | E-Mail to:  mrz@informatik.uni-jena.de || rene.scholz@minet.uni-jena.de  |
 `--------------------------------------------------------------------------'

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