Changeset 98665 in vbox for trunk/src/VBox/Additions/common/VBoxService
- Timestamp:
- Feb 21, 2023 7:49:56 AM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 155965
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlSession.cpp
r98526 r98665 1780 1780 if (RT_SUCCESS(rc)) 1781 1781 { 1782 uint32_t fFlagsRuntime = 0; 1783 1782 1784 if (!(fFlags & ~GSTCTL_QUERYINFO_F_VALID_MASK)) 1783 1785 { 1784 uint32_t fFlagsRuntime = 0;1785 1786 if (fFlags & GSTCTL_QUERYINFO_F_ON_LINK) 1786 1787 fFlagsRuntime |= RTPATH_F_ON_LINK; … … 1790 1791 fFlagsRuntime |= RTPATH_F_NO_SYMLINKS; 1791 1792 1793 if (!RTPATH_F_IS_VALID(fFlagsRuntime, 0)) 1794 rc = VERR_INVALID_PARAMETER; 1795 } 1796 else 1797 rc = VERR_INVALID_PARAMETER; 1798 1799 if (RT_FAILURE(rc)) 1800 VGSvcError("Invalid fsqueryinfo flags: %#x (%#x)\n", fFlags, fFlagsRuntime); 1801 1802 if (RT_SUCCESS(rc)) 1803 { 1792 1804 #define CASE_ATTR_ADD_VAL(a_Val) \ 1793 1805 case GSTCTL##a_Val: enmAttrRuntime = RT##a_Val; break; … … 1820 1832 1821 1833 rc = RTPathQueryInfoEx(szPath, &objInfoRuntime, enmAttrRuntime, fFlagsRuntime); 1822 }1823 else1824 {1825 VGSvcError("Invalid stat flags: %#x\n", fFlags);1826 rc = VERR_NOT_SUPPORTED;1827 1834 } 1828 1835
Note:
See TracChangeset
for help on using the changeset viewer.