Hamlib/lib
Stephane Fillod 683cc7eedd win32termios: fix in tcflush
Under Windows, the Icom transceive messages do not get flushed
properly. Returned data is cached in windows serial buffer and
are received by hamlib as response to initial request.
Lada suggested to add PURGE_RXCLEAR flag to tcflush (lib/termios.c),
actually clearing and making the buffer empty.

Look at http://msdn.microsoft.com/en-us/library/windows/desktop/aa363428%28v=vs.85%29.aspx
PURGE_RXABORT only terminates overlapped reads but not input buffer.

Nate suggested to add the PURGE_TXCLEAR flag to the output queue as well.

Signed-off-by: Ladislav Vaiz <spam@nagano.cz>
Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2013-05-06 08:35:00 +02:00
..
Makefile.am
dummy.c
getaddrinfo.c Properly detect getaddrinfo() under newer mingw-w64 2012-06-23 16:16:12 +02:00
getopt.c Update LGPL/GPL header in lib source files. 2011-08-22 21:38:36 -05:00
getopt.h Update LGPL/GPL header in lib source files. 2011-08-22 21:38:36 -05:00
getopt_long.c Update LGPL/GPL header in lib source files. 2011-08-22 21:38:36 -05:00
gettimeofday.c
termios.c win32termios: fix in tcflush 2013-05-06 08:35:00 +02:00
usleep.c Update LGPL/GPL header in lib source files. 2011-08-22 21:38:36 -05:00
win32termios.h win32termios: fix warnings found by w64-mingw32 4.6.x, plus misc rxtx update 2012-06-23 16:43:09 +02:00