🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by David Goh Fri, 12 Sep 1997 00:00
Patch for crash when selecting a newsgroup when none are available.
#36043
Author: David Goh
Date: Fri, 12 Sep 1997 00:00
42 lines
1502 bytes
Patch for crash when selecting a newsgroup when none are available.

This is a patch for slrn0.9.4.2:

=== begin slrn.diff ===

--- slrn0942/src/group.c	Mon Jul  7 15:11:02 1997
+++ slrn/src/group.c	Fri Sep 12 14:40:36 1997
@@ -760,6 +760,9 @@
      }
    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))
@@ -1355,6 +1358,9 @@
 
 static void select_group_cmd (void)
 {
+   if (Slrn_Group_Current_Group == NULL) 
+     return;
+
    if (-1 == slrn_group_select_group ())
      slrn_error ("No unread articles.");
 }

=== end slrn.diff ===

Later,

    David

-- 
Unico   Computer   Systems   Pty   Ltd
David Goh            Software Engineer
david@unico.com.au      (03) 9866 5688

Re: Patch for crash when selecting a newsgroup when none are available.
#36067
Author: John E. Davis
Date: Sat, 13 Sep 1997 00:00
11 lines
781 bytes
On 12 Sep 1997 05:01:39 GMT, David Goh <david@unico.com.au>
wrote:
>This is a patch for slrn0.9.4.2:

   This bug you found was corrected in 0.9.4.3.
   
Thanks,
--John

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