VirtualBox

Changeset 104284 in vbox for trunk/src/VBox/Runtime/r3/win


Ignore:
Timestamp:
Apr 11, 2024 12:04:48 AM (11 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
162755
Message:

IPRT: Reimplemented RTFileDelete for windows to eliminate type checking race and prevent it from accidentally deleting directories. bugref:10632

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/fileio-win.cpp

    r99828 r104284  
    14861486/* RTFileQueryFsSizes is implemented by ../nt/RTFileQueryFsSizes-nt.cpp */
    14871487
    1488 
     1488#if 0 /* RTFileDelete is implemented by ../nt/RTFileDelete-r3-nt.cpp */
    14891489RTR3DECL(int)  RTFileDelete(const char *pszFilename)
    14901490{
     
    15001500    return rc;
    15011501}
     1502#endif
    15021503
    15031504
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette