* thread.c (rb_fd_zero): remove redundant zero fill.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9468e945c8
commit
76734388a2
|
@ -1,3 +1,7 @@
|
||||||
|
Sat May 7 22:43:48 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||||
|
|
||||||
|
* thread.c (rb_fd_zero): remove redundant zero fill.
|
||||||
|
|
||||||
Sat May 7 22:38:04 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
Sat May 7 22:38:04 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||||
|
|
||||||
* thread.c (rb_fd_init): remove volatile qualifier.
|
* thread.c (rb_fd_init): remove volatile qualifier.
|
||||||
|
|
4
thread.c
4
thread.c
|
@ -2350,10 +2350,8 @@ rb_fd_term(rb_fdset_t *fds)
|
||||||
void
|
void
|
||||||
rb_fd_zero(rb_fdset_t *fds)
|
rb_fd_zero(rb_fdset_t *fds)
|
||||||
{
|
{
|
||||||
if (fds->fdset) {
|
if (fds->fdset)
|
||||||
MEMZERO(fds->fdset, fd_mask, howmany(fds->maxfd, NFDBITS));
|
MEMZERO(fds->fdset, fd_mask, howmany(fds->maxfd, NFDBITS));
|
||||||
FD_ZERO(fds->fdset);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue