Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!usc!cs.utexas.edu!uunet!mcvax!hp4nl!eutrc3!wzv!wietse From: wietse@wzv.win.tue.nl (Wietse Z. Venema) Newsgroups: comp.sources.bugs Subject: Re: NN 6.3 -- Official Patch #4 (short) Keywords: nn patches Message-ID: <319@wzv.win.tue.nl> Date: 11 Jul 89 22:56:14 GMT References: <360@texas.dk> Organization: Eindhoven University of Technology, The Netherlands Lines: 65 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;