儲存庫 vbox 的更動 14620
- 時間撮記:
- 2008-11-26 上午09:13:11 (16 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp
r14619 r14620 204 204 205 205 Action mAction; 206 ULONGmIndex;206 uint32_t mIndex; 207 207 /** flag whether the command target is a global filter */ 208 208 bool mGlobal; … … 5490 5490 com::SafeArray<BSTR> baseMetrics; 5491 5491 com::SafeIfaceArray<IUnknown> objects; 5492 ULONGperiod = 1, samples = 1;5492 uint32_t period = 1, samples = 1; 5493 5493 bool listMatches = false; 5494 5494 int i; … … 5500 5500 if (argc <= i + 1) 5501 5501 return errorArgument("Missing argument to '%s'", argv[i]); 5502 char *endptr = NULL;5503 5502 if ( VINF_SUCCESS != RTStrToUInt32Full(argv[++i], 10, &period) 5504 5503 || !period) … … 5509 5508 if (argc <= i + 1) 5510 5509 return errorArgument("Missing argument to '%s'", argv[i]); 5511 char *endptr = NULL;5512 5510 if (VINF_SUCCESS != RTStrToUInt32Full(argv[++i], 10, &samples)) 5513 if (!endptr || *endptr)5514 5511 return errorArgument("Invalid value for 'samples' parameter: '%s'", argv[i]); 5515 5512 } … … 5658 5655 com::SafeArray<BSTR> baseMetrics; 5659 5656 com::SafeIfaceArray<IUnknown> objects; 5660 ULONGperiod = 1, samples = 1;5657 uint32_t period = 1, samples = 1; 5661 5658 bool isDetached = false, listMatches = false; 5662 5659 int i; … … 5667 5664 if (argc <= i + 1) 5668 5665 return errorArgument("Missing argument to '%s'", argv[i]); 5669 char *endptr = NULL;5670 5666 if ( VINF_SUCCESS != RTStrToUInt32Full(argv[++i], 10, &period) 5671 5667 || !period) … … 5676 5672 if (argc <= i + 1) 5677 5673 return errorArgument("Missing argument to '%s'", argv[i]); 5678 char *endptr = NULL;5679 5674 if ( VINF_SUCCESS != RTStrToUInt32Full(argv[++i], 10, &samples) 5680 5675 || !samples)
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器