Permalink
Switch branches/tags
Commits on Oct 30, 2011
  1. * 2011-10-31

    matzbot committed Oct 30, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * include/ruby/intern.h (rb_cloexec_fcntl_dupfd): declared.

    akr committed Oct 30, 2011
    * io.c (rb_cloexec_fcntl_dupfd): new function.
      (nogvl_io_cntl): use rb_cloexec_fcntl_dupfd.
    
    * process.c (move_fds_to_avoid_crash): use rb_cloexec_fcntl_dupfd.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. * configure.in: check pipe2.

    akr committed Oct 30, 2011
    * io.c (rb_cloexec_pipe): use pipe2 if available.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. * ruby.c (fill_standard_fds): use fstat() instead of fcntl(F_GETFD)

    akr committed Oct 30, 2011
      for MinGW.  reported by Luis Lavena.  [ruby-core:40526] [Bug #5516]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. * include/ruby/intern.h (rb_cloexec_pipe): declared.

    akr committed Oct 30, 2011
    * io.c (rb_cloexec_pipe): new function.
      (rb_pipe): use rb_cloexec_pipe.
    
    * thread_pthread.c (rb_thread_create_timer_thread): use
      rb_cloexec_pipe.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. * io.c (rb_cloexec_dup): refine control flow.

    akr committed Oct 30, 2011
      (rb_cloexec_dup2): ditto.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. * ruby.c (fill_standard_fds): new function to open closed standard

    akr committed Oct 30, 2011
      file descriptors.
      (ruby_sysinit): call fill_standard_fds.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. * tool/rbinstall.rb (install_recursive, bin-comm): split mere

    nobu committed Oct 30, 2011
      string not path name.  [ruby-core:40462] [Bug #5492]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  9. * io.c (rb_cloexec_dup, rb_cloexec_dup2): CLOEXEC has been set if

    nobu committed Oct 30, 2011
      dup3 succeeded.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  10. * io.c (rb_cloexec_dup): don't allocate standard file descriptors.

    akr committed Oct 30, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Oct 29, 2011
  1. * io.c (rb_cloexec_dup2): don't set CLOEXEC for standard file

    akr committed Oct 29, 2011
      descriptors.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * 2011-10-30

    matzbot committed Oct 29, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. * configure.in: check dup3.

    akr committed Oct 29, 2011
    * io.c (rb_cloexec_dup2): use dup3 if available.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. * ChangeLog: style fix.

    k-tsj committed Oct 29, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. * include/ruby/intern.h (rb_cloexec_dup2): declared.

    akr committed Oct 29, 2011
    * io.c (rb_cloexec_dup2): new function.
      (io_reopen): use rb_cloexec_dup2.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. * win32/Makefile.sub (CONFIG_H): have stdint.h if VC2010. [Bug #5243]

    arton committed Oct 29, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. * io.c (rb_cloexec_dup): use F_DUPFD_CLOEXEC if available.

    akr committed Oct 29, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. add a comment.

    akr committed Oct 29, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  9. * include/ruby/intern.h (rb_cloexec_dup): declared.

    akr committed Oct 29, 2011
    * io.c (rb_cloexec_dup): new function.
      (ruby_dup): use rb_cloexec_dup.
    
    * ext/pty/pty.c (pty_getpty): use rb_cloexec_dup.
      
    * ext/openssl/ossl_bio.c (ossl_obj2bio): ditto.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  10. * ext/sdbm/_sdbm.c (sdbm_prep): use O_CLOEXEC if available.

    akr committed Oct 29, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  11. * io.c (rb_cloexec_open): use O_CLOEXEC if available.

    akr committed Oct 29, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  12. * process.c (ruby_setsid): use rb_cloexec_open.

    akr committed Oct 29, 2011
      (rb_daemon): ditto.
    
    * ruby.c (load_file_internal): ditto.
    
    * file.c (rb_file_s_truncate): ditto.
      (file_load_ok): ditto.
    
    * random.c (fill_random_seed): ditto.
    
    * ext/pty/pty.c (chfunc): ditto.
      (get_device_once): ditto.
    
    * ext/io/console/console.c (console_dev): ditto.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  13. * include/ruby/intern.h (rb_cloexec_open): declared.

    akr committed Oct 29, 2011
    * io.c (fd_set_cloexec): extracted from rb_fd_set_cloexec.
      (rb_cloexec_open): new function.
      (sysopen_func): use rb_cloexec_open.
      (rb_sysopen_internal): use rb_update_max_fd instead of
      rb_fd_set_cloexec.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  14. * ChangeLog: commit miss.

    nobu committed Oct 29, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  15. * 2011-10-29

    matzbot committed Oct 29, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  16. * thread_pthread.h: no Structured Exception Handling like macros.

    nobu committed Oct 29, 2011
      [ruby-core:40432] [Bug #5491]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Oct 28, 2011
  1. add a comment.

    akr committed Oct 28, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * ext/sdbm/_sdbm.c: RCS $Id$ removed.

    akr committed Oct 28, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. A test for r33542.

    nurse committed Oct 28, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. * parse.y (parser_nextc): set encoding for the buffer of ripper.

    nurse committed Oct 28, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Oct 27, 2011
  1. * ext/sdbm/_sdbm.c (sdbm_prep): set FD_CLOEXEC flags for file

    akr committed Oct 27, 2011
      descriptors.
      (fd_set_cloexec): new function.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * vm_insnhelper.c (vm_call_cfunc): adding back useless hack. For some

    tenderlove committed Oct 27, 2011
      reason, this fixes CFP errors on OS X 10.7.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. * 2011-10-28

    matzbot committed Oct 27, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. * ext/sdbm/_sdbm.c (sdbm_prep): refactored for less nesting.

    akr committed Oct 27, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. * configure.in (RUBY_DEFINE_IF): revert r33534 partially to get

    nobu committed Oct 27, 2011
      rid of AS_ECHO which is not available in autoconf 2.61.
      [ruby-dev:44702]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e