🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.soft-sys.andrew
Article #1985

Re: Sun4 AMS oddity

#1985
From: Nathaniel Borenstein
Date: Fri, 22 Dec 1989 15:14
19 lines
1355 bytes
I think I've figured it out, but I can't test it just now.

The entire bug would be explained perfectly if the "Template" parameter
passed in to the BuildCaption function had not been initialized
properly.  This appears to be the case in at least one important place
-- ams/libs/ms/newmail.c, line 147.  A fix would be to add a line (line
139 looks like a good place) that says:

CaptionTemplateList[i].basictype = BASICTEMPLATE_NORMAL;

I think this will fix the bug, but it will be a while (like, next
decade) before I can test it -- if someone else is motivated to test it,
you should report the results.  However, I'm pretty sure this is the
bug.  Someone should probably also grep for all the other uses of
BuildCaption to make sure all the template parameters are properly
initialized.  -- Nathaniel

PS -- all will work fine if the structure is initially zero, which may
explain why it ususally works for most people.  -- NB
Technical Details
Message-ID: <IZYYHjm0M2Yt4BNBMo@thumper.bellcore.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!aplcen!samsung!usc!ucsd!ucbvax!THUMPER.BELLCORE.COM!nsb
References: <AZYIW=AB0KGW437Q9L@holmes>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!aplcen!samsung!usc!ucsd!ucbvax!THUMPER.BELLCORE.COM!nsb
From: nsb@THUMPER.BELLCORE.COM (Nathaniel Borenstein)
Newsgroups: comp.soft-sys.andrew
Subject: Re: Sun4 AMS oddity
Message-ID: <IZYYHjm0M2Yt4BNBMo@thumper.bellcore.com>
Date: 22 Dec 89 15:14:55 GMT
References: <AZYIW=AB0KGW437Q9L@holmes>
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 19