VirtualBox

Changeset 104284 in vbox


Ignore:
Timestamp:
Apr 11, 2024 12:04:48 AM (8 months ago)
Author:
vboxsync
Message:

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

Location:
trunk/src/VBox/Runtime
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/Makefile.kmk

    r103495 r104284  
    10471047        r3/nt/fs-nt.cpp \
    10481048        r3/nt/pathint-nt.cpp \
     1049        r3/nt/RTFileDelete-r3-nt.cpp \
    10491050        r3/nt/RTFileQueryFsSizes-nt.cpp \
    10501051        r3/nt/RTFileSetMode-r3-nt.cpp \
     
    26472648        r3/nt/fs-nt.cpp \
    26482649        r3/nt/pathint-nt.cpp \
     2650        r3/nt/RTFileDelete-r3-nt.cpp \
    26492651        r3/nt/RTFileQueryFsSizes-nt.cpp \
    26502652        r3/nt/RTFileSetMode-r3-nt.cpp \
  • 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.

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