ruby-changes:25426
From: kosaki <ko1@a...>
Date: Tue, 6 Nov 2012 01:43:41 +0900 (JST)
Subject: [ruby-changes:25426] kosaki:r37483 (trunk): * thread_pthread.c (rb_reserved_fd_p): fix typo in macro check
kosaki 2012-11-06 01:43:32 +0900 (Tue, 06 Nov 2012) New Revision: 37483 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=37483 Log: * thread_pthread.c (rb_reserved_fd_p): fix typo in macro check that prevented the ifdef ever being true. [Bug #7281] [ruby-core:48940] Modified files: trunk/ChangeLog trunk/thread_pthread.c Index: ChangeLog =================================================================== --- ChangeLog (revision 37482) +++ ChangeLog (revision 37483) @@ -1,3 +1,9 @@ +Mon Nov 5 11:40:00 2012 Mark Somerville <mark@s...> + + * thread_pthread.c (rb_reserved_fd_p): fix typo in macro check + that prevented the ifdef ever being true. + [Bug #7281] [ruby-core:48940] + Mon Nov 5 23:28:57 2012 Hiroshi Shirosaki <h.shirosaki@g...> * file.c (rb_get_path_check_to_string): extract from Index: thread_pthread.c =================================================================== --- thread_pthread.c (revision 37482) +++ thread_pthread.c (revision 37483) @@ -1448,7 +1448,7 @@ int rb_reserved_fd_p(int fd) { -#ifdef USE_SLEEPY_TIMER_THRAED +#ifdef USE_SLEEPY_TIMER_THREAD if (fd == timer_thread_pipe[0] || fd == timer_thread_pipe[1]) { return 1; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/