Article View: news.software.readers
Article #34934Re: slrn 0.9.4.2 released
From: John E. Davis
Date: Tue, 08 Jul 1997 00:00
Date: Tue, 08 Jul 1997 00:00
29 lines
1577 bytes
1577 bytes
On 8 Jul 1997 08:47:01 -0700, E. <erisson@sw-tech.com>
wrote:
>Um, I've noticed a bug in 0.9.4.2. If I am at the group selection
>screen, and no groups are showing, and I hit the space bar or the enter
>key, I segfault. It used to tell me that there were no unread groups
>(or unread articles?) available.
Congratulations! You have found what I consider to be the first major
bug in 0.9.4.(1/2). Here is a patch:
--- group.c~ Mon Jul 7 00:04:29 1997
+++ group.c Tue Jul 8 17:03:37 1997
@@ -760,6 +760,8 @@
}
else prefix = 0;
+ if (Slrn_Group_Current_Group == NULL) return -1;
+
last_n = Slrn_Group_Current_Group->unread;
if (-1 == group_sync_group_with_server (Slrn_Group_Current_Group, &min, &max))
--
John E. Davis Center for Space Research/AXAF Science Center
617-258-8119 MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis
Technical Details
Message-ID:
<slrn5s5aut.cco.davis@aluche.mit.edu>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!not-for-mailReferences:
<slrn5s0vgs.9a6.davis@aluche.mit.edu> <slrn5s4o6l.5fh.erisson@kallisti.sw-tech.com>Show Full Headers
Complete Article Headers
Message-ID: <slrn5s5aut.cco.davis@aluche.mit.edu> Subject: Re: slrn 0.9.4.2 released Date: Tue, 08 Jul 1997 00:00:00 +0000 From: davis@space.mit.edu (John E. Davis) References: <slrn5s0vgs.9a6.davis@aluche.mit.edu> <slrn5s4o6l.5fh.erisson@kallisti.sw-tech.com> 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!not-for-mail X-Deja-AN: 255663966 Organization: Center for Space Research Reply-To: davis@space.mit.edu Newsgroups: news.software.readers