Closed Bug 252193 Opened 21 years ago Closed 21 years ago

make seamonkey bookmarks use nsISafeOutputStream

Categories

(SeaMonkey :: Bookmarks & History, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dwitte, Assigned: dwitte)

Details

Attachments

(1 file)

this is the twin of bug 252053 (firefox). copy-paste: convert another consumer over to using our new safe-save functionality (see bug 246675). doing so will fix the following open bugs (there are both seamonkey and fx bugs in this list, but it's all really the same thing): 157152 (by not leaving the tempfile around in the failure case) 220159 (maybe... not sure what's going on here) 206567 (once i land a fix to the safe-save impl, see bug 252050)
Attached patch v1Splinter Review
Attachment #153717 - Flags: review?(timeless)
timeless: may i ask... any particular reason we use PR_WRONLY for the ioflags on the output stream, and not the -1 default?
you may ask, but don't ask me, that dates to: 1.280 <varga@netscape.com> 2003-04-02 05:11 Fix for bug 191783 Convert bookmark implemenation to use nsIFile instead of nsFileSpec
Comment on attachment 153717 [details] [diff] [review] v1 + PR_WRONLY, please use the default here (-1). wait with the checkin until you checked in bug 252050
Attachment #153717 - Flags: review?(timeless) → review+
Comment on attachment 153717 [details] [diff] [review] v1 another simple consumer fix for you darin ;)
Attachment #153717 - Flags: superreview?(darin)
Attachment #153717 - Flags: superreview?(darin) → superreview+
fixed-on-trunk.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: