[new release] eio (5 packages) (1.3) #28212
Merged
+239
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Effect-based direct-style IO API for OCaml
CHANGES:
Bug fixes:
posix: ensure
spawn_unix
wraps errors when callingopenat
(@dijkstracula posix: spawn_unix: ensure spawn_unix wraps its call toopenat
ocaml-multicore/eio#809).Use
O_RESOLVE_BENEATH
on FreeBSD (@talex5 Use O_RESOLVE_BENEATH on FreeBSD ocaml-multicore/eio#810, reported by @dijkstracula).FreeBSD needs
-D__BSD_VISIBLE
to be able to see this.Fixed the CI bug this revealed, which had started also affecting macos.
Ignore
ECONNRESET
on close (@talex5 Ignore ECONNRESET on close ocaml-multicore/eio#787).FreeBSD returns
ECONNRESET
in certain (unclear) circumstances, but it does still close the FD successfully.If you care about this case, you should probably use
shutdown
instead and check for it there.Python and Ruby at least both explicitly check for and ignore this error too.
On Windows, fix stdin broken-pipe and blocked domains (@bdodrem @talex5 On Windows, fix stdin broken-pipe and blocking domain. Issues #793 and #792. ocaml-multicore/eio#795).
eio_windows_cstruct_stubs.c
by Unix functions added in OCaml 5.2,which correctly handle Window's strange use of
EPIPE
.Documentation:
Documentation fixes (@jonludlam Documentation fixes ocaml-multicore/eio#813).
Minor documentation improvements (@talex5 Minor documentation improvements ocaml-multicore/eio#794).
Build fixes:
dune subst
(@talex5 Disable dune subst ocaml-multicore/eio#789).