Changeset 72098 in vbox for trunk/src/VBox/Additions/common
- Timestamp:
- May 3, 2018 4:20:44 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlSession.cpp
r72097 r72098 575 575 if (RT_SUCCESS(rc)) 576 576 { 577 /** @todo r=bird: shouldn't you use a different variable here for the IPRT flags??? */ 577 unsigned fPathRenameFlags = 0; 578 578 579 if (fFlags & PATHRENAME_FLAG_NO_REPLACE) 579 f Flags |= RTPATHRENAME_FLAGS_NO_REPLACE;580 fPathRenameFlags |= RTPATHRENAME_FLAGS_NO_REPLACE; 580 581 581 582 if (fFlags & PATHRENAME_FLAG_REPLACE) 582 f Flags |= RTPATHRENAME_FLAGS_REPLACE;583 fPathRenameFlags |= RTPATHRENAME_FLAGS_REPLACE; 583 584 584 585 if (fFlags & PATHRENAME_FLAG_NO_SYMLINKS) 585 f Flags |= RTPATHRENAME_FLAGS_NO_SYMLINKS;586 587 rc = RTPathRename(szSource, szDest, f Flags);586 fPathRenameFlags |= RTPATHRENAME_FLAGS_NO_SYMLINKS; 587 588 rc = RTPathRename(szSource, szDest, fPathRenameFlags); 588 589 } 589 590
Note:
See TracChangeset
for help on using the changeset viewer.