diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-02 18:57:06 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-02 18:57:06 +0000 |
commit | 88559ce46ed1af86a57738cedccdc28ba1f0e549 (patch) | |
tree | 9d778774efb85090bccf865438dec9c2b260031f | |
parent | 0a1e7d1568584f22f743347c5e3b64dbf705dd83 (diff) |
* 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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | include/ruby/intern.h | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Tue May 3 03:57:04 2011 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * include/ruby/intern.h (rb_w32_fdcopy): add prototype. fixes + #4640 + Mon May 2 01:02:04 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com> * 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)) |