NN 6.3 -- Official Patch #4 (short)
Wietse Z. Venema
wietse at wzv.win.tue.nl
Wed Jul 12 08:56:14 AEST 1989
Kim F. Storm writes:
> This is patch #4 for nn 6.3 (part 1 of 3).
The patch is a great improvement with respect to portability to 16-bit
hardware. It eliminates most 16/32 bit conflicts, and introduces a new
one. The following three modifications should help us 16-bit folks out.
*** ./sequence.c- Tue Jul 11 21:38:23 1989
--- ./sequence.c Tue Jul 11 22:13:10 1989
***************
*** 363,369 ****
static faked_entry(name, flag)
char *name;
! int flag;
{
group_header *gh;
--- 363,369 ----
static faked_entry(name, flag)
char *name;
! int32 flag;
{
group_header *gh;
*** ./rc.c- Tue Jul 11 21:38:16 1989
--- ./rc.c Tue Jul 11 22:13:09 1989
***************
*** 443,449 ****
gh->group_flag &= ~G_UNREAD_COUNT;
}
! return was_unread;
}
--- 443,449 ----
gh->group_flag &= ~G_UNREAD_COUNT;
}
! return (was_unread != 0);
}
*** ./articles.c- Tue Jul 11 21:36:58 1989
--- ./articles.c Tue Jul 11 22:36:27 1989
***************
*** 225,231 ****
max_articles += NEXT_ART_ARRAY_SIZE;
}
art_array = (article_header **)
! calloc(max_articles, sizeof(article_header **));
mem_check((char *)art_array, (int)max_articles, "article headers");
while (--n >= 0) art_array[n] = *--articles;
articles = art_array + mem_offset;
--- 225,231 ----
max_articles += NEXT_ART_ARRAY_SIZE;
}
art_array = (article_header **)
! calloc((unsigned)max_articles, sizeof(article_header **));
mem_check((char *)art_array, (int)max_articles, "article headers");
while (--n >= 0) art_array[n] = *--articles;
articles = art_array + mem_offset;
More information about the Comp.sources.bugs
mailing list