On 2022-12-12 10:01:05 +0100, Claudio Jeker wrote: > I think this is the wrong way around. The callers need to be fixed to pass > a blocking stdin to programs since that is what every unix utility > expects. What you propose it to fix every unix utility to have such a check > at the start of main. Sorry but no.
Ah, as it turns out the non-blocking of stdin was to workaround a bug in https://github.com/osa1/tiny/issues/269 https://github.com/microsoft/WSL/issues/3507 so I'll try to convince the tiny folks to only do that on WSL.