VirtualBox

Changeset 23739 in vbox


Ignore:
Timestamp:
Oct 13, 2009 6:33:06 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
53462
Message:

Devices/Storage: fix Solaris breakage introduced with the previous fix for Solaris

Location:
trunk/src/VBox/Devices/Storage
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DrvHostBase.cpp

    r23410 r23739  
    10841084    {
    10851085        RTFileClose(pThis->FileRawDevice);
     1086        pThis->FileRawDevice = NIL_RTFILE;
     1087    }
     1088    if (pThis->FileDevice != NIL_RTFILE)
     1089    {
     1090        RTFileClose(pThis->FileDevice);
    10861091        pThis->FileDevice = NIL_RTFILE;
    1087     }
    1088     if (pThis->FileDevice != NIL_RTFILE)
    1089     {
    1090         RTFileClose(pThis->FileDevice);
    1091         pThis->FileRawDevice = NIL_RTFILE;
    10921092    }
    10931093    RTFILE FileRawDevice;
     
    14331433
    14341434    /*
    1435      * Determin the size.
     1435     * Determine the size.
    14361436     */
    14371437    uint64_t cb;
  • trunk/src/VBox/Devices/Storage/DrvHostDVD.cpp

    r23409 r23739  
    342342        fMediaPresent = false;
    343343        fMediaChanged = true;
    344         /** @todo check this media chance stuff on Darwin. */
     344        /** @todo check this media change stuff on Darwin. */
    345345    }
    346346
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette