You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
timotheecour
changed the title
io API's should handle interrupts / short reads properly
io API's should handle interrupts (eg EINTR) / short reads properly
Dec 18, 2020
io.endOfFile
is buggy · Issue #16011 · nim-lang/Nimsignals / errors
EINTR (eg: fix #9634 don't crash on execCmdEx/readLine when inside gdb/lldb (handle EINTR) nim-lang/Nim#13232)
35 EAGAIN Resource temporarily unavailable. This is a temporary condition and later calls to the same routine may complete normally.
(as observed in echo may silently fail to write to stdout nim-lang/Nim#16366)
etc see also
man 2 intro
for all error codeslinks
c - Are interrupt signals dispatched during fread() and fwrite() library calls? - Stack Overflow
fix #16011 endOfFile by timotheecour · Pull Request #16013 · nim-lang/Nim
Linked TITLE: deprecate io.getFileSize, fix os.getFileSize by timotheecour · Pull Request #16095 · nim-lang/Nim
even this seems incorrect wrt short reads / exceptions: Milestone TITLE: Do not read the whole file to compute SHA1 hash (fixes 15997) by irdassis · Pull Request #16006 · nim-lang/Nim
fix #9634 don't crash on execCmdEx/readLine when inside gdb/lldb by timotheecour · Pull Request #13232 · nim-lang/Nim
POSIX, Part 1: Error handling · angrave/SystemProgramming Wiki
fix #9634 don't crash on execCmdEx/readLine when inside gdb/lldb by timotheecour · Pull Request #13232 · nim-lang/Nim
The text was updated successfully, but these errors were encountered: