Thread View: news.software.nn
2 messages
2 total messages
Started by Vincent Fox
Wed, 11 Nov 1992 22:07
nn6.4.18: dumps core creating .newsrc?
Author: Vincent Fox
Date: Wed, 11 Nov 1992 22:07
Date: Wed, 11 Nov 1992 22:07
3 lines
736 bytes
736 bytes
nn6.4.18 compiled under SunOS 4.1.1 for a Sun 3/260. Ask all the right questions, but dumps core and exits when trying to create a .newsrc. Any clues?
Re: nn6.4.18: dumps core creating .newsrc?
Author: Dave Heath
Date: Thu, 12 Nov 1992 20:22
Date: Thu, 12 Nov 1992 20:22
28 lines
1354 bytes
1354 bytes
vincent@cad.gatech.edu (Vincent Fox) writes:
>nn6.4.18 compiled under SunOS 4.1.1 for a Sun 3/260. Ask all the right
>questions, but dumps core and exits when trying to create a .newsrc.
>Any clues?
There is a bug. Here is a simple patch.
I don't know where to send this for inclusion in an official patch.
Anyone know?
*** global.c.old Fri Apr 19 13:40:43 1991
--- global.c Mon Nov 4 18:40:02 1991
***************
*** 482,487 ****
--- 482,488 ----
{
struct stat st;
+ if (!f) return 0; /* dave heath: fixed bug if no .newsrc */
if (fstat(fileno(f), &st) < 0) return 0;
return st.st_mtime;
}
END OF PATCH
-dave heath
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