Closed Bug 179641 Opened 22 years ago Closed 18 years ago

Use ReplaceFile on NT/2k/XP in nsLocalFile::CopySingleFile(..)

Categories

(Core :: XPCOM, enhancement)

x86
Windows 2000
enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX
Future

People

(Reporter: neeti, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0

Use ReplaceFile on NT/2k/XP in nsLocalFile::CopySingleFile(..) instead of
manually deleting the existing destination and then calling MOveFile. See bug 163941


Reproducible: Always

Steps to Reproduce:
1.
2.
3.
me
Assignee: dougt → neeti
neeti no longer works on mozilla stuff.
Assignee: neeti → dougt
nice to have, but there is no requirement.  perf here is not an issue.
Severity: normal → enhancement
Target Milestone: --- → Future
Note that ReplaceFile is only available on W2KPro and WXP, so Win98/95 (and
W2K-nonpro) would still need the old version.
See http://msdn.microsoft.com/library/en-us/fileio/fs/replacefile.asp
Assignee: dougt → nobody
QA Contact: scc → xpcom
Propose to make it WONTFIX
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.