17 April 2020, 19:26 | #1 |
WinUAE 4000/40, V4SA
Join Date: Apr 2020
Location: East of Oshawa
Posts: 538
|
[OS4] newlib 53.30 bug in read()
Since Hyperion takes forever to activate registrations for their forums, I'll complain here instead. Anyway, the contract for the POSIX standard
ssize_t read(int fd, void *buf, size_t count)function is that the return value needs to be in the range -1 <= retval < count. However, when fd is stdin there are situations where count is less than the return value. So far it happens when terminal attributes are changed to disable echoing and canonical input, and minimum read is set to 1. I'm working on producing a test case that reproduces the bug which I'll add here later. Last edited by coldacid; 17 April 2020 at 19:46. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Read me first | RCK | New to Emulation or Amiga scene | 20 | 10 April 2022 22:50 |
WinUAE Enforcer hit: illegal read from 0 by ROM = bug ? | PeterK | support.WinUAE | 7 | 19 November 2017 18:56 |
Bug in x64 file requester and bug in Blizzard PPC ROM filesize | headkase | support.WinUAE | 5 | 26 June 2016 14:17 |
I always get a read error when installting OS4.1 FE in WinUAE | jonssonj | support.WinUAE | 5 | 05 February 2015 06:00 |
OS4 update - A late xmas present from the OS4 team | Paul | News | 1 | 28 December 2004 20:48 |
|
|