Closed Bug 291736 Opened 19 years ago Closed 19 years ago

nsLocalFileOS2.cpp won't compile

Categories

(Core :: XPCOM, defect)

Other
OS/2
defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: dragtext, Assigned: dougt)

Details

Attachments

(1 file, 2 obsolete files)

The parent of this file's nsDirEnumerator class was changed from
nsISimpleEnumerator to nsIDirectoryEnumerator.  Now, attempts to QI to
SimpleEnum fail.  This patch removes the QI and uses the object pointer to
invoke the enum methods.
Attached patch fix for nsLocalFileOS2.cpp (obsolete) — Splinter Review
isn't this the wrong fix? QI to nsISimpleEnumerator should still work, if it
doesn't, that should be fixed...
Attached patch Use the Windows code (obsolete) — Splinter Review
Isn't the correct thing to do here just to take the Windows code? There is
nothing platform specific about it.

I have NOT built this code - I'm at home on my Windows machine.
Attachment #181725 - Attachment is obsolete: true
Do I see correctly that in the current code the allocation to dirEnum is never
freed?
Attached patch A compiling fixSplinter Review
This is what I checked in.
Attachment #181731 - Attachment is obsolete: true
Status: NEW → 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

Creator:
Created:
Updated:
Size: