Blob Blame History Raw
--- api/libuv/src/Clib/bgluv.c.orig	2023-01-10 10:32:48.219572578 -0700
+++ api/libuv/src/Clib/bgluv.c	2023-01-10 10:33:50.946398610 -0700
@@ -1074,7 +1074,7 @@ bgl_uv_fs_write(obj_t obj, obj_t buffer,
 	 req->data = proc; 
 	 gc_mark(proc);
 
-	 uv_fs_write(loop, req, fd, &iov, 1, position, &bgl_uv_fs_rw_cb);
+	 return uv_fs_write(loop, req, fd, &iov, 1, position, &bgl_uv_fs_rw_cb);
       } else {
 	 uv_fs_t req;
 	 int r;
@@ -1111,7 +1111,7 @@ bgl_uv_fs_read(obj_t obj, obj_t buffer,
 	 req->data = proc;
 	 gc_mark(proc);
 
-	 uv_fs_read(loop, req, fd, &iov, 1, position, &bgl_uv_fs_rw_cb);
+	 return uv_fs_read(loop, req, fd, &iov, 1, position, &bgl_uv_fs_rw_cb);
       } else {
 	 uv_fs_t req;
 	 int r;