Displaying 1 result from an estimated 1 matches for "f271a3a".
Did you mean:
4571a3a
2011 Sep 19
1
[windows port] blazer_ser issues, select_read() from serial semantics
...nix version is currently implemented in a fragile
way, making hidden assumptions that might broke under e.g. a heavy
system load.
TIA
Something like this might be appropriate for the windows version (tested
here with our UPSes):
diff --git a/common/wincompat.c b/common/wincompat.c
index 86c786f..f271a3a 100644
--- a/common/wincompat.c
+++ b/common/wincompat.c
@@ -411,12 +411,15 @@ int w32_serial_read (serial_handler_t * sh, void *ptr, size_t ulen, DWORD tim
upsdebugx(4,"w32_serial_read : characters are avail...