- Timestamp:
- Apr 20, 2007 1:01:05 PM (18 years ago)
- Location:
- trunk/src/VBox/Frontends
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxBFE/VBoxBFE.cpp
r1571 r2271 470 470 471 471 /* resolve it. */ 472 hdaFile = RTPathRealDup(argv[curArg]); 472 if (RTPathExists(argv[curArg])) 473 hdaFile = RTPathRealDup(argv[curArg]); 473 474 if (!hdaFile) 474 475 return SyntaxError("The path to the specified harddisk, '%s', could not be resolved.\n", argv[curArg]); … … 480 481 481 482 /* resolve it. */ 482 fdaFile = RTPathRealDup(argv[curArg]); 483 if (RTPathExists(argv[curArg])) 484 fdaFile = RTPathRealDup(argv[curArg]); 483 485 if (!fdaFile) 484 486 return SyntaxError("The path to the specified floppy disk, '%s', could not be resolved.\n", argv[curArg]); … … 490 492 491 493 /* resolve it. */ 492 cdromFile = RTPathRealDup(argv[curArg]); 494 if (RTPathExists(argv[curArg])) 495 cdromFile = RTPathRealDup(argv[curArg]); 493 496 if (!cdromFile) 494 497 return SyntaxError("The path to the specified cdrom, '%s', could not be resolved.\n", argv[curArg]); -
trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp
r2238 r2271 996 996 } 997 997 /* resolve it. */ 998 hdaFile = RTPathRealDup(argv[curArg]); 998 if (RTPathExists(argv[curArg])) 999 hdaFile = RTPathRealDup(argv[curArg]); 999 1000 if (!hdaFile) 1000 1001 { … … 1013 1014 } 1014 1015 /* resolve it. */ 1015 fdaFile = RTPathRealDup(argv[curArg]); 1016 if (RTPathExists(argv[curArg])) 1017 fdaFile = RTPathRealDup(argv[curArg]); 1016 1018 if (!fdaFile) 1017 1019 { … … 1030 1032 } 1031 1033 /* resolve it. */ 1032 cdromFile = RTPathRealDup(argv[curArg]); 1034 if (RTPathExists(argv[curArg])) 1035 cdromFile = RTPathRealDup(argv[curArg]); 1033 1036 if (!cdromFile) 1034 1037 {
Note:
See TracChangeset
for help on using the changeset viewer.