зеркало из https://github.com/github/ruby.git
* thread.c (rb_fd_copy): fix wrong argument.This issue was pointed
out by Eric Wong. [ruby-core:35982] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
50522eb351
Коммит
f081eca1d7
|
@ -1,3 +1,8 @@
|
|||
Wed May 4 07:33:00 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* 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@gmail.com>
|
||||
|
||||
* test/fileutils/test_fileutils.rb (TestFileUtils#test_chmod_symbol_mode):
|
||||
|
|
2
thread.c
2
thread.c
|
@ -2389,7 +2389,7 @@ rb_fd_copy(rb_fdset_t *dst, const rb_fdset_t *src)
|
|||
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
|
||||
|
|
Загрузка…
Ссылка в новой задаче