Changeset 67464 in vbox for trunk/src/VBox/Storage
- Timestamp:
- Jun 19, 2017 10:08:36 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Storage/VD.cpp
r66665 r67464 5467 5467 * and signal success - the actual open will of course fail, 5468 5468 * but that will create a really sensible error message. */ 5469 5470 /** @todo r=bird: this bit of code is _certifiably_ _insane_ as it allows 5471 * simple stuff like VERR_EOF to pass thru. I've just amended it with 5472 * disallowing VERR_EOF too, but someone needs to pick up the courage to 5473 * fix this stuff properly or at least update the docs! 5474 * (Parallels returns VERR_EOF, btw.) */ 5475 5469 5476 || ( rc != VERR_VD_GEN_INVALID_HEADER 5470 5477 && rc != VERR_VD_VDI_INVALID_HEADER … … 5478 5485 && rc != VERR_VD_RAW_SIZE_FLOPPY_TOO_BIG 5479 5486 && rc != VERR_VD_PARALLELS_INVALID_HEADER 5480 && rc != VERR_VD_DMG_INVALID_HEADER)) 5487 && rc != VERR_VD_DMG_INVALID_HEADER 5488 && rc != VERR_EOF /* bird for viso */ 5489 )) 5481 5490 { 5482 5491 /* Copy the name into the new string. */
Note:
See TracChangeset
for help on using the changeset viewer.