From 88559ce46ed1af86a57738cedccdc28ba1f0e549 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 2 May 2011 18:57:06 +0000 Subject: * include/ruby/intern.h (rb_w32_fdcopy): add prototype. fixes #4640 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ include/ruby/intern.h | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 1798485ad2..0f753b0828 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue May 3 03:57:04 2011 Nobuyoshi Nakada + + * include/ruby/intern.h (rb_w32_fdcopy): add prototype. fixes + #4640 + Mon May 2 01:02:04 2011 KOSAKI Motohiro * lib/fileutils.rb (FileUtils#chmod): accept symbolic mode argument. diff --git a/include/ruby/intern.h b/include/ruby/intern.h index c66064f8be..efb2814e6f 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -270,6 +270,7 @@ void rb_fd_set(int, rb_fdset_t *); #define rb_fd_clr(n, f) rb_w32_fdclr((n), (f)->fdset) #define rb_fd_isset(n, f) rb_w32_fdisset((n), (f)->fdset) #define rb_fd_copy(d, s) rb_w32_fdcopy((d), (s)) +void rb_w32_fdcopy(rb_fdset_t *dst, const rb_fdset_t *src); #define rb_fd_select(n, rfds, wfds, efds, timeout) rb_w32_select((n), (rfds) ? ((rb_fdset_t*)(rfds))->fdset : NULL, (wfds) ? ((rb_fdset_t*)(wfds))->fdset : NULL, (efds) ? ((rb_fdset_t*)(efds))->fdset: NULL, (timeout)) #define rb_fd_resize(n, f) ((void)(f)) -- cgit v1.2.3