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
Audit of caml_read_fd: update offset and max pointer
Only stdin is global in Stdlib, and it is not seekable, so its state
remained valid on exception. However it does not cost much to keep the
offset and the max pointer up to date in all situtations when an
interrupt arises.
In addition, one can be suspicious that channel locks may leak, which
can cause deadlocks. However, this is already dealt with Unlock_exn.
0 commit comments