Changeset 34230 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Nov 22, 2010 10:06:48 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/posix/path2-posix.cpp
r34015 r34230 244 244 AssertReturn(*pszPath, VERR_INVALID_PARAMETER); 245 245 AssertMsgReturn(RTPATH_F_IS_VALID(fFlags, 0), ("%#x\n", fFlags), VERR_INVALID_PARAMETER); 246 uid_t uidNative = uid != UINT32_MAX? (uid_t)uid : (uid_t)-1;246 uid_t uidNative = uid != NIL_RTUID ? (uid_t)uid : (uid_t)-1; 247 247 AssertReturn(uid == uidNative, VERR_INVALID_PARAMETER); 248 gid_t gidNative = gid != UINT32_MAX? (gid_t)gid : (uid_t)-1;248 gid_t gidNative = gid != NIL_RTGID ? (gid_t)gid : (uid_t)-1; 249 249 AssertReturn(gid == gidNative, VERR_INVALID_PARAMETER); 250 250
Note:
See TracChangeset
for help on using the changeset viewer.