Closed
Bug 387271
Opened 18 years ago
Closed 18 years ago
Newsgroups list is reloaded every time (hostinfo.dat isn't loaded)
Categories
(SeaMonkey :: MailNews: Message Display, defect)
SeaMonkey
MailNews: Message Display
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: markushossner, Assigned: markushossner)
Details
Attachments
(1 file)
|
2.15 KB,
patch
|
neil
:
review+
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; de; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a7pre) Gecko/200707072121 SeaMonkey/2.0a1pre
The newsgroups list is reloaded every time when opening the subscribe dialog cause the hostinfo.dat isn't loaded.
nsNntpIncomingServer::LoadHostInfoFile() loads the wrong file mNewsrcFilePath instead of mHostInfoFile and every time after reading a line mHasSeenBeginGroups is set back to PR_FALSE.
Reproducible: Always
| Assignee | ||
Comment 1•18 years ago
|
||
Patch fixes the problems mentioned above.
Attachment #271383 -
Flags: superreview?(bienvenu)
Attachment #271383 -
Flags: review?(neil)
Comment 2•18 years ago
|
||
Comment on attachment 271383 [details] [diff] [review]
Patch
this is a trunk-only problem, right? In other words, I messed this up when getting rid of nsFileSpec...thx for the patch!
Attachment #271383 -
Flags: superreview?(bienvenu) → superreview+
Updated•18 years ago
|
Assignee: mail → markushossner
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 3•18 years ago
|
||
Comment on attachment 271383 [details] [diff] [review]
Patch
>- if (strncmp(line,"begingroups", 11) == 0) {
>+ if (PL_strncmp(line,"begingroups", 11) == 0) {
And here I was thinking the latest fad was to use the CRT where possible.
Attachment #271383 -
Flags: review?(neil) → review+
| Assignee | ||
Updated•18 years ago
|
Keywords: checkin-needed
Comment 4•18 years ago
|
||
> And here I was thinking the latest fad was to use the CRT where possible.
See bug 379070 comment 161 and 166.
Keywords: checkin-needed
Comment 5•18 years ago
|
||
Landed on trunk.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Comment 6•18 years ago
|
||
(In reply to comment #4)
>>And here I was thinking the latest fad was to use the CRT where possible.
>See bug 379070 comment 161 and 166.
I meant CRT, not nsCRT i.e. strcmp isntead of nsCRT::strcmp :-P
Updated•18 years ago
|
Version: unspecified → Trunk
Component: MailNews: Subscribe → MailNews: Message Display
QA Contact: search
You need to log in
before you can comment on or make changes to this bug.
Description
•