Closed Bug 292079 Opened 19 years ago Closed 19 years ago

Empty files crated and left in Temp folder (newmsg)

Categories

(Thunderbird :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: write, Assigned: Bienvenu)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050425 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050425 Firefox/1.0+

Every time Thunderbird is started (using latest nightly) it creates temporary
files in C:\Documents and Settings\%USER%\Local Settings\Temp\.

These files are named newmsg-1 newmsg-2 newmsg-3 ...

When Thuderbird closes, it should delete these files - but doesn't.

Opening Thunderbird appears to create a small number of new files each time. The
number created isn't fixed.



Reproducible: Always
These files are written when mailnews.downloadToTempFile is set, see bug 116443.
They're supposed to be deleted afterwards. Attachment 173650 [details] [diff] changed that delete
to a truncate, but EndMailDelivery should have delete it. Maybr it didn't do it ?
Attached patch proposed fixSplinter Review
we weren't clearing the temp file in the abort case, which turns out to be the
code that's hit when there are no message in the pop3 inbox.

iirc, the reason we changed the delete to a truncate was to avoid creating and
deleting the temp file for every message we download in a session.
Assignee: mscott → bienvenu
Status: UNCONFIRMED → ASSIGNED
Attachment #182175 - Flags: superreview?(mscott)
Attachment #182175 - Flags: approval-aviary1.1a?
Attachment #182175 - Flags: superreview?(mscott) → superreview+
Comment on attachment 182175 [details] [diff] [review]
proposed fix

a=sspitzer for tbird 1.1a
Attachment #182175 - Flags: approval-aviary1.1a? → approval-aviary1.1a+
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: