1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:27:35 +00:00

Ports: Add Ruby 3.0.2

This commit is contained in:
Eric Seifert 2021-09-21 23:09:21 -07:00 committed by Linus Groh
parent 32932f83be
commit 01a06dde0e
9 changed files with 286 additions and 0 deletions

View file

@ -0,0 +1,12 @@
--- ruby-3.0.2/include/ruby/internal/intern/select/posix.h
+++ ruby-3.0.2/include/ruby/internal/intern/select/posix.h
@@ -55,7 +55,7 @@ rb_fd_copy(rb_fdset_t *dst, const fd_set *src, int n)
}
static inline void
-rb_fd_dup(rb_fdset_t *dst, const fd_set *src, int n)
+rb_fd_dup(rb_fdset_t *dst, const fd_set *src)
{
*dst = *src;
}