Hello,

Dennis Filder, le jeu. 03 sept. 2020 19:28:11 +0200, a ecrit:
> The patch fixes the error and also adds code to retry the read after a
> short delay.

? You don't want to delay. Either the file is opened in blocking mode,
and you never get EAGAIN, or you open in non-blocking mode, and the
whole loop is supposed to handle this with select, which is the case
here. So just let it go back to select. If that poses problems, it means
that there is a bug that should be fixed inside speakup, and your delay
only hides that bug, while eating batteries.

Samuel

Reply via email to