* configure.in (_FORTIFY_SOURCE): added a few comments.
* thread.c: disabled _FORTIFY_SOURCE for avoid to hit glibc bug.
* test/ruby/test_io.rb (TestIO#test_io_select_with_many_files):
  test for the above.