🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #7530

S: patch for db.c for supress crosspostings (nn-6.5.0b3)

#7530
From: 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  |
 `--------------------------------------------------------------------------'

Technical Details
Message-ID: <mrz.826808341@isun30>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <mrz.826808341@isun30>
Subject: S: patch for db.c for supress crosspostings (nn-6.5.0b3)
Date: Thu, 14 Mar 1996 00:00:00 +0000
From: mrz@isun04.inf.uni-jena.de (Rene Scholz)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail
X-Deja-AN: 142815613
Organization: Friedrich-Schiller-University Jena, Germany
Newsgroups: news.software.nn