Closed Bug 60376 Opened 24 years ago Closed 24 years ago

Ricky reports filter.log is randomly strewn throughout his file system

Categories

(MailNews Core :: Filters, defect, P3)

x86
Windows 98
defect

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 57806

People

(Reporter: timeless, Assigned: Bienvenu)

References

()

Details

1632 nsOutputFileStream * nsParseNewMailState::GetLogFile ()
1633 {
1634     // This log file is used by regular filters and JS filters
1635     if (m_logFile == nsnull)
1636     {
1637         // ### TODO file spec sub-class for log file
1638         nsFileSpec logFile("filter.log");
1639         m_logFile = new nsOutputFileStream(logFile, PR_WRONLY | 
PR_CREATE_FILE, 00600);
1640     }
1641     return m_logFile;
1642 }

I think a call to 
NS_GetSpecialDirectory(NS_APP_MAIL_50_DIR, getter_AddRefs(mailDir));
is warranted
this is a dup

*** This bug has been marked as a duplicate of 57806 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Bug 57806 adds a call to NS_GetSpecialDirectory; verified dupe.
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.