Changes between Version 2 and Version 3 of Ticket #8789, comment 21
- Timestamp:
- May 15, 2023, 2:08:11 AM (19 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #8789, comment 21
v2 v3 1 1 FWIW, the test case from comment:11 also blocks when opening `/dev/port/pc_serial1` (with a loop-back cable connected to it). 2 2 3 Modifying Haiku's `BSerialPort::_DeviceControl()` so it (un)sets `O_NONBLOCK` depending on the state of BSerialPort's `fBlocking` , makes that test run as expected (for both SetBlocking() true/false values).3 Modifying Haiku's `BSerialPort::_DeviceControl()` so it (un)sets `O_NONBLOCK` depending on the state of BSerialPort's `fBlocking` (using `fcntl` as in comment:13), makes that test run as expected (for both SetBlocking() true/false values). 4 4 5 5 Guess I found one of the many reasons why my old serial_mouse driver misbehaves in Haiku, but works otherwise OK on BeOS. (edit: or at least one of the reasons why my tests trying to find the differences only managed to confuse me further :-D).