Closed Bug 12011 Opened 26 years ago Closed 26 years ago

nsIURI::SetSpec(const char *)?

Categories

(Core :: Networking, defect, P3)

All
Windows NT
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: norrisboyd, Assigned: gagan)

Details

Shouldn't SetSpec take a const char * instead of a char * since it duplicates the incoming string?
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
It should but sadly IDL doesn't have a notion of const. There is a discussion to change that in future. But for now we just have to live with char* and be super-careful.
Status: RESOLVED → VERIFIED
verified invalid
Bulk move of all Necko (to be deleted component) bugs to new Networking component.
You need to log in before you can comment on or make changes to this bug.