1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-25 22:53:16 +00:00
janet/src
paulsnar 06f2e81dd5
shell: Handle EINTR on long reads
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.
2022-02-04 02:31:40 +02:00
..
boot Remove :modules dynamic binding 2022-01-23 01:54:58 +09:00
conf Prepare for 1.20.0 release. 2022-01-27 21:38:07 -06:00
core Update signature of :missing-symbol hook. 2022-01-27 21:24:01 -06:00
include Tweaks on redef feature branch. 2022-01-06 20:38:15 -06:00
mainclient shell: Handle EINTR on long reads 2022-02-04 02:31:40 +02:00