Closed Bug 330668 Opened 18 years ago Closed 11 years ago

Add NS_WARNING to native methods of nsLocalFileWin

Categories

(Core :: XPCOM, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jshin1987, Assigned: jshin1987)

References

Details

Bug 162361 is about to be fixed at long last. Once that is fixed, we need to discourage the use of native nsLocalFile methods on Windows (InitWithNativePath, GetNativePath, etc) by converting major call sites to use UTF-16 methods and adding NS_WARNING to native methods that they are lossy.
Sorry for bug spam. Forgot to set the dependency
Depends on: 162361
We use AppendNative correctly with ASCII strings and probably shouldn't warn in that case.
Right.  we should check whether an ASCII string is passed in a debug build.
Depends on: 360735
These warnings exist for the most part.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.