Thread View: news.software.nn
1 messages
1 total messages
Started by Kim F. Storm
Tue, 10 Jul 1990 09:37
Warning: BUG IN PATCH #7 (+work around)
Author: Kim F. Storm
Date: Tue, 10 Jul 1990 09:37
Date: Tue, 10 Jul 1990 09:37
40 lines
1954 bytes
1954 bytes
Sorry, but I goofed it!
There is a bug in patch #7 just released which may cause the 'P' command
to crash nn on some systems due to deferencing a NULL pointer.
The work-around is not to use print-header-type 1 (and thus the new
print-header-lines feature). I suggest you include this line in the
global init file:
set print-header-type 2
The problem is easy to fix, so if you want, you can apply the following
patch to fix it until the next official patch is released:
++Kim
*** LAST/save.c Mon Jul 9 18:00:05 1990
--- save.c Tue Jul 10 10:32:30 1990
***************
*** 508,514 ****
} else
if (mode == SHORT_HEADER || mode == SHORT_HEADER_DG) {
char *name, *val;
! scan_header_fields(short_header_lines, ah->flag & A_DIGEST);
while (next_header_field(&name, &val, (fct_type *)NULL)) {
if (name == NULL) continue;
fprintf(save_file, "%s: %s\n", name, val);
--- 508,514 ----
} else
if (mode == SHORT_HEADER || mode == SHORT_HEADER_DG) {
char *name, *val;
! scan_header_fields(short_header_lines, ah);
while (next_header_field(&name, &val, (fct_type *)NULL)) {
if (name == NULL) continue;
fprintf(save_file, "%s: %s\n", name, val);
--
Kim F. Storm <storm@texas.dk> No news is good news,
Texas Instruments A/S, Denmark but nn is better!
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