Skip to content
Permalink
Browse files

rktio: repair for building without ptherad support

  • Loading branch information
mflatt committed Jan 5, 2020
1 parent fc25872 commit f0a63b59214d7885dc2d4872637e269eb38d5e49
Showing with 2 additions and 0 deletions.
  1. +2 −0 racket/src/rktio/rktio_file.c
@@ -258,10 +258,12 @@ static rktio_fd_t *finish_unix_fd_creation(rktio_t *rktio, int fd, int modes, rk
? RKTIO_OPEN_REGFILE
: RKTIO_OPEN_NOT_REGFILE);

# ifdef RKTIO_USE_PENDING_OPEN
if (existing_rfd) {
rktio_update_system_fd(rktio, existing_rfd, fd, modes);
return existing_rfd;
} else
# endif
return rktio_system_fd(rktio, fd, modes);
}
#endif

0 comments on commit f0a63b5

Please sign in to comment.
You can’t perform that action at this time.