ruby-changes:19376
From: kosaki <ko1@a...>
Date: Wed, 4 May 2011 07:37:14 +0900 (JST)
Subject: [ruby-changes:19376] Ruby:r31416 (trunk): * thread.c (rb_fd_copy): fix wrong argument.This issue was pointed
kosaki 2011-05-04 07:37:07 +0900 (Wed, 04 May 2011) New Revision: 31416 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31416 Log: * thread.c (rb_fd_copy): fix wrong argument.This issue was pointed out by Eric Wong. [ruby-core:35982] Modified files: trunk/ChangeLog trunk/thread.c Index: ChangeLog =================================================================== --- ChangeLog (revision 31415) +++ ChangeLog (revision 31416) @@ -1,3 +1,8 @@ +Wed May 4 07:33:00 2011 KOSAKI Motohiro <kosaki.motohiro@g...> + + * thread.c (rb_fd_copy): fix wrong argument.This issue was pointed + out by Eric Wong. [ruby-core:35982] + Tue May 3 20:29:33 2011 KOSAKI Motohiro <kosaki.motohiro@g...> * test/fileutils/test_fileutils.rb (TestFileUtils#test_chmod_symbol_mode): Index: thread.c =================================================================== --- thread.c (revision 31415) +++ thread.c (revision 31416) @@ -2389,7 +2389,7 @@ size = sizeof(fd_set); dst->maxfd = src->maxfd; dst->fdset = xrealloc(dst->fdset, size); - memcpy(dst->fdset, src, size); + memcpy(dst->fdset, src->fdset, size); } int -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/