serial_flush() implements FlushFileBuffers for serial devices wrongly

Wolfgang Walter wine at stwm.de
Wed Jun 3 04:49:42 CDT 2009


Hello,

FlushFileBuffers should write out any data not yet transmitted but
serial_flush() instead discards any data not yet transmitted

This is because it uses tcflush() instead of tcdrain().

Call tcdrain for serial handles directly from NtFlushBuffersFile()
and remove serial_flush() in server/serial.c


-- 
Wolfgang Walter
Studentenwerk München
Anstalt des öffentlichen Rechts
Leiter EDV
Leopoldstraße 15
80802 München
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-serial_flush-implements-FlushFileBuffers-for-seria.patch
Type: text/x-diff
Size: 3093 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090603/2d06b34f/attachment.patch>


More information about the wine-patches mailing list