mirror of
https://github.com/janet-lang/janet
synced 2025-01-01 11:20:27 +00:00
06f2e81dd5
Many system I/O operations can fail due to being interrupted by a signal. In the REPL's case, this poses a problem because in most cases it's assumed that a read error is not recoverable and is equivalent to EOF. This, however, is not the case for EINTR, in which case the I/O should be tried again. This commit fixes the most egregious violations of this, notably the line getters, which would otherwise make the REPL exit on any signal, even if the signal was caught and processed outside the REPL's purview. |
||
---|---|---|
.. | ||
boot | ||
conf | ||
core | ||
include | ||
mainclient |