Skip to content

Commit

Permalink
Increaset fds'length from 32 to 64
Browse files Browse the repository at this point in the history
  • Loading branch information
mohanson committed Sep 19, 2024
1 parent a3c6db3 commit 6449a42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quickjs/ckb_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -459,8 +459,8 @@ static JSValue syscall_pipe(JSContext *ctx, JSValueConst this_value, int argc, J

static JSValue syscall_inherited_fds(JSContext *ctx, JSValueConst this_value, int argc, JSValueConst *argv) {
int err = 0;
uint64_t fds[32];
uint64_t length = 32;
uint64_t fds[64];
uint64_t length = 64;
err = ckb_inherited_fds(fds, &length);
CHECK(err);
JSValue obj = JS_NewArray(ctx);
Expand Down

0 comments on commit 6449a42

Please sign in to comment.