]> sigrok.org Git - libserialport.git/commit - serialport.c
Fix sp_blocking_read_next() implementation on Windows.
authorUwe Hermann <redacted>
Fri, 22 Jan 2016 14:30:44 +0000 (15:30 +0100)
committerUwe Hermann <redacted>
Fri, 22 Jan 2016 14:32:00 +0000 (15:32 +0100)
commit888fb45d66aada134f36fa9129499ec180161c0a
tree2f9922ec12b7079a302b02e00dae48f9b4be8ab8
parent02c8a1424d06cb97061a7ebf96231bdb08673b01
Fix sp_blocking_read_next() implementation on Windows.

A ReadFile() call needed to check the actual number of bytes read,
instead of assuming all requested bytes were read.
serialport.c