Closed
Bug 333835
Opened 19 years ago
Closed 19 years ago
Fix temp file problem in SQLITE on OS/2
Categories
(Core :: SQLite and Embedded Database Bindings, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: mozilla, Assigned: vlad)
Details
(Keywords: fixed1.8.1)
Attachments
(3 files)
9.90 KB,
patch
|
Details | Diff | Splinter Review | |
702 bytes,
patch
|
Details | Diff | Splinter Review | |
4.09 KB,
patch
|
Details | Diff | Splinter Review |
The SQLITE backend produces many sqlite* files in %TEMP% when browsing with a Places enabled Firefox build. That is because of a bug in the SQLITE platform code for OS/2.
Reporter | ||
Comment 1•19 years ago
|
||
This patch to os_os2.c fixes the temp file problem, and also cleans up the code with respect to whitespace and return code readability.
I suspect the same patch will end up in upstream SQLITE soon, not sure if we still need the patch here.
Attachment #218265 -
Flags: first-review?(vladimir)
Reporter | ||
Updated•19 years ago
|
Attachment #218265 -
Attachment description: Fix tempfile problem (+ cleanup) → Fix tempfile problem (+ cleanup), patch by Daniel Kruse
Comment 2•19 years ago
|
||
Comment on attachment 218265 [details] [diff] [review]
Fix tempfile problem (+ cleanup), patch by Daniel Kruse
r=mkaply - this is OS/2 only, so I'll just check it in.
Attachment #218265 -
Flags: first-review?(vladimir) → first-review+
Comment 3•19 years ago
|
||
Please check this patch into db/sqlite3 along with the other patches and add documentation to the end of README.MOZILLA in that directory.
We're going to upgrading sqlite, and I will forget this patch if you don't do this. If this is a generic sqlite problem, you should send your patch to them so we don't have to manage these patches.
Reporter | ||
Comment 4•19 years ago
|
||
brettw, I learned in the meantime that the OS/2 files did not yet make it into the SQLite repository. So I would guess if you sync with them you wouldn't overwrite the files? If still required you could put this at the end of README.MOZILLA:
While updating do not remove the files os_os2.c and os_os2.h.
-- Peter Weilbacher <mozilla@weilbacher.org> 05/2006
Comment 5•19 years ago
|
||
Can you make a patch and do that? I'll forget and I'm not going to be doing this for a few days.
Reporter | ||
Comment 6•19 years ago
|
||
Whoever checks in these changes: can you please also add this comment to README.MOZILLA?
The OS/2 files should make it into SQLite hopefully soon, but until then this comment should be there I guess.
Reporter | ||
Comment 7•19 years ago
|
||
Bloody hell, it seems this came too late. The update already overwrote the previous OS/2 changes in os.h. :-( To get it to build again on OS/2 we need this patch anew.
Comment 8•19 years ago
|
||
(In reply to comment #7)
> Bloody hell, it seems this came too late. The update already overwrote the
> previous OS/2 changes in os.h. :-( To get it to build again on OS/2 we need
> this patch anew.
Please check in the patch as I requested in comment 3 or it will keep getting overwritten every time.
Reporter | ||
Comment 9•19 years ago
|
||
brettw, I would love to but nobody wants to give me sr+ in bug 319955.
In the meantime, mkaply, can you do something about it?
Comment 10•19 years ago
|
||
Everything above is checked in.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•19 years ago
|
Flags: in-testsuite-
Updated•1 year ago
|
Product: Toolkit → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•