Closed
Bug 282808
Opened 20 years ago
Closed 15 years ago
'WinExec' is deprecated (in obsolete/nsFileSpecWin.cpp)
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 514131
People
(Reporter: David.R.Gardiner, Unassigned)
References
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Running PREfast static code analysis gives the following warning: nsfilespecwin.cpp(641) : warning 301: 'WinExec' is deprecated: please refer to MSDN for more details. problem occurs in function 'nsFileSpec::Execute' According to http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/winexec.asp applications should use the CreateProcess API instead. We don't support 16bit anymore so I think this is reasonable. -dave Reproducible: Always Steps to Reproduce:
Comment 1•20 years ago
|
||
nsFileSpec is obsolete. I would hope, if at all possible, we fix the callers of nsFileSpec to use nsLocalFile instead of fixing nsFileSpec.
Comment 2•20 years ago
|
||
Yeah, let's just remove nsFileSpec :)
Updated•18 years ago
|
Assignee: dougt → nobody
QA Contact: xpcom
Comment 3•15 years ago
|
||
By bug 514131, nsFileSpec was removed.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•