VirtualBox

Changeset 1760 in vbox


Ignore:
Timestamp:
Mar 28, 2007 10:57:40 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
19930
Message:

Updates

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Serial/DrvChar.cpp

    r1759 r1760  
    222222                cbRemaining = sizeof(aBuffer);
    223223                rc = pData->pDrvStream->pfnRead(pData->pDrvStream, aBuffer, &cbRemaining);
    224                 AssertRC(rc);
     224                if (VBOX_FAILURE(rc))
     225                {
     226                    LogFlow(("Read failed with %Vrc\n", rc));
     227                    break;
     228                }
    225229            }
    226230            else
     
    251255            else
    252256            {
    253                 LogFlow(("Read failed with %Vrc; skipping\n", rc));
     257                LogFlow(("NotifyRead failed with %Vrc\n", rc));
    254258                break;
    255259            }
  • trunk/src/VBox/Devices/Serial/DrvNamedPipe.cpp

    r1758 r1760  
    149149            if (    !pData->fShutdown
    150150                &&  (   rc == VERR_EOF
    151                         || rc == VERR_BROKEN_PIPE
     151                     || rc == VERR_BROKEN_PIPE
    152152                    )
    153153               )
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