VirtualBox

Changeset 24382 in vbox


Ignore:
Timestamp:
Nov 5, 2009 2:02:08 PM (15 years ago)
Author:
vboxsync
Message:

Serial: forward-port of 54411 (serial/rawfile: don't flush after writing a byte to the file)

File:
1 edited

Legend:

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

    r23973 r24382  
    8282        size_t cbWritten;
    8383        rc = RTFileWrite(pThis->OutputFile, pvBuf, *pcbWrite, &cbWritten);
     84#if 0
     85        /* don't flush here, takes too long and we will loose characters */
    8486        if (RT_SUCCESS(rc))
    8587            RTFileFlush(pThis->OutputFile);
     88#endif
    8689        *pcbWrite = cbWritten;
    8790    }
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