🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #73733

[slrn] minor bugfix for 0.9.6.4pl4

#73733
From: Thomas Schultz
Date: Sat, 17 Mar 2001 13:03
33 lines
2093 bytes
Hi,

Jurriaan just reported that slrn 0.9.6.4pl4 will crash when moving a
group from or to the top of the list, so if you are using the current
development preview, either don't do this :) or apply this simple patch:

#v+
diff -ur slrn-0.9.6.4pl4a/src/group.c slrn-0.9.7.0/src/group.c
--- slrn-0.9.6.4pl4a/src/group.c        Sun Mar 11 15:52:33 2001
+++ slrn-0.9.7.0/src/group.c    Sat Mar 17 13:40:49 2001
@@ -1234,6 +1234,7 @@
                  from->next = to->next;
                  from->prev = to;
                  to->next = from;
+                 if (from == Groups) Groups = to;
               }
             else
               {
@@ -1242,6 +1243,7 @@
                  from->prev = to->prev;
                  from->next = to;
                  to->prev = from;
+                 if (to == Groups) Groups = from;
               }
          }
        else break;
#v-
-- 
Thomas Schultz <tststs@gmx.de> * Recent news from http://slrn.sourceforge.net/
 -> [2001-03-15] Public preview of slrn 0.9.7.0
 -> [2001-01-28] First steps towards slrn 0.9.7.0
 -> [2001-01-19] Thomas Schultz new slrn maintainer
Technical Details
Message-ID: <slrn9b6o5v.37j.tststs@starflower.tststs.ddns.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!news.tele.dk!194.8.194.95!news.netcologne.de!newsfeed01.sul.t-online.de!t-online.de!do.de.uu.net!innmaster.de.uu.net!news.cityweb.de!tststs.ddns.org!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <slrn9b6o5v.37j.tststs@starflower.tststs.ddns.org>
Subject: [slrn] minor bugfix for 0.9.6.4pl4
Date: Sat, 17 Mar 2001 13:03:59 +0000
From: tststs@gmx.de (Thomas Schultz)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!news.tele.dk!194.8.194.95!news.netcologne.de!newsfeed01.sul.t-online.de!t-online.de!do.de.uu.net!innmaster.de.uu.net!news.cityweb.de!tststs.ddns.org!not-for-mail
Newsgroups: news.software.readers
Organization: Pinguin online.
Lines: 32
NNTP-Posting-Host: 149.225.49.139
NNTP-Posting-Date: 17 Mar 2001 13:36:36 GMT
X-Complaints-To: abuse@cityweb.de
X-Server-Date: 17 Mar 2001 13:03:39 GMT
User-Agent: slrn/0.9.6.4pl4a (Linux)