- Timestamp:
- Dec 9, 2010 10:04:37 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/GuestImpl.cpp
r34833 r34862 1844 1844 1845 1845 /* Validate flags. */ 1846 if (aFlags )1846 if (aFlags != ExecuteProcessFlag_None) 1847 1847 { 1848 1848 if ( !(aFlags & ExecuteProcessFlag_IgnoreOrphanedProcesses) … … 2599 2599 2600 2600 /* Validate flags. */ 2601 if (aFlags != 0) /* Flags are not supported at the moment. */ 2602 return setError(E_INVALIDARG, tr("Unknown flags (%#x)"), aFlags); 2601 if (aFlags != CopyFileFlag_None) 2602 { 2603 if ( !(aFlags & CopyFileFlag_Recursive) 2604 && !(aFlags & CopyFileFlag_Update) 2605 && !(aFlags & CopyFileFlag_FollowLinks)) 2606 { 2607 return setError(E_INVALIDARG, tr("Unknown flags (%#x)"), aFlags); 2608 } 2609 } 2603 2610 2604 2611 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS);
Note:
See TracChangeset
for help on using the changeset viewer.