Permalink
Browse files

* thread_pthread.c (rb_reserved_fd_p): fix typo in macro check

  that prevented the ifdef ever being true.
  [Bug #7281] [ruby-core:48940]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
1 parent d33b9a8 commit 4e73323a6007d0a554b52440f316e3c4c71eae26 @kosaki kosaki committed Nov 5, 2012
Showing with 7 additions and 1 deletion.
  1. +6 −0 ChangeLog
  2. +1 −1 thread_pthread.c
View
@@ -1,3 +1,9 @@
+Mon Nov 5 11:40:00 2012 Mark Somerville <mark@scottishclmibs.com>
+
+ * 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@gmail.com>
* file.c (rb_get_path_check_to_string): extract from
View
@@ -1448,7 +1448,7 @@ ruby_stack_overflowed_p(const rb_thread_t *th, const void *addr)
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;

0 comments on commit 4e73323

Please sign in to comment.