Closed
Bug 73797
Opened 23 years ago
Closed 23 years ago
Move CoCreateInstance out of the nsLocalFile.
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
FIXED
mozilla0.9
People
(Reporter: dougt, Assigned: dougt)
Details
Attachments
(1 file)
2.23 KB,
patch
|
Details | Diff | Splinter Review |
If the nsLocalFileWin has to resolve a symlink (shortcut), it will call CoCreateInstance. This call should be moved into startup code.
Assignee | ||
Comment 1•23 years ago
|
||
Assignee | ||
Comment 2•23 years ago
|
||
chris, can i get a r/sr on this simple patch. It will only speed localfiles on windows up when there is a FNF condition.
Status: NEW → ASSIGNED
Comment 3•23 years ago
|
||
+#ifdef XP_WIN + CoInitialize(NULL); // FIX: we should probably move somewhere higher up during startup +#endif Uh, that's what you did, right? Or do you still want to move it *earlier*? +#ifdef DOUGT_debug + printf("localfile - resolving symlink\n"); +#endif + Do you want to check this in? sr=waterson
Assignee | ||
Comment 4•23 years ago
|
||
Yes, I still think that this should go higher. Maybe the application should do this? But for now, it is much better where it is. Yes, I want the printf. thanks.
Assignee | ||
Updated•23 years ago
|
Target Milestone: --- → mozilla0.9
Comment 5•23 years ago
|
||
r=darin
Assignee | ||
Comment 6•23 years ago
|
||
Thanks guys. Fixed is in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•