Closed Bug 6031 Opened 26 years ago Closed 26 years ago

[PP] mac dies when subscribed newsgroup is > 32 characters.

Categories

(MailNews Core :: Backend, defect, P3)

PowerPC
Mac System 8.5
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: sspitzer, Assigned: sspitzer)

Details

this bug is to keep track of the mac crasher on startup, when you've got your prefs50.js configured for news servers.
Status: NEW → ASSIGNED
Summary: when prefs50.js configured for news servers, mac crashes on startup of mail news → mac dies when subscribed newsgroup is > 32 characters.
Target Milestone: M6
hangas and I figured out the problem. mac can't handle file names > 32 (or 31 or something cheesy like that.) currently, the summary files that I create for newsgroups are of the form: <newsgroup name>.msf netscape.public.mozilla.mail-news.msf is > 32, so it would fail. in the 4.x world, we'd hash the newsgroup name on the Mac to generate a summary file name. I'll bring that code over so it works on the mac. in the mean time, news works on the mac, you just can't be subscribed to long newsgroups yet. that bug is now this bug. (see changed summary.) target milestone m6. hangas and I configured his prefs to only use a news server with small newsgroups names, and it worked.
QA Contact: 4080 → 4098
Hardware: PC → Macintosh
Summary: mac dies when subscribed newsgroup is > 32 characters. → [PP] mac dies when subscribed newsgroup is > 32 characters.
note to self: this mapping lives in the host.dat file.
correction hostinfo.dat, not host.dat
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
fixed. I've brought over the 4.5 code that does the hashing of the newsgroup name into a suitable file name. (It turns out it isn't in the hostinfo.dat file after all.)
Status: RESOLVED → VERIFIED
Verified with the current M6 candidate build (5_25).
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.