Skip to content

Commit

Permalink
Fix eio_windows
Browse files Browse the repository at this point in the history
  • Loading branch information
patricoferris committed Nov 20, 2024
1 parent 85ffd3d commit 9808d13
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib_eio_windows/low_level.ml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@ let read_link ?dirfd path =

let chown ?dirfd ~follow:_ ~uid ~gid path =
in_worker_thread @@ fun () ->
Eio_unix.Private.chown ~flags:0 ~uid ~gid dirfd path
match dirfd with
| None -> failwith "Chown is unsupported on Windows"
| Some dirfd -> Eio_unix.Private.chown ~flags:0 ~uid ~gid dirfd path

external eio_readv : Unix.file_descr -> Cstruct.t array -> int = "caml_eio_windows_readv"

Expand Down

0 comments on commit 9808d13

Please sign in to comment.