Permalink
Commits on May 30, 2011
  1. * test/ruby/test_signal.rb (TestSignal#test_signal_requiring): don't

      close stderr.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed May 30, 2011
  2. * test/ruby/test_signal.rb (TestSignal#test_signal_requiring): small

      but critical typo of r31642.  sorry...
      [Bug #4798] [ruby-core:36550]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed May 30, 2011
  3. Fix mixed declarations in r31822.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed May 30, 2011
  4. * insns.def (opt_mult): as r31805, volatile it.

      Without this, clang -O fails calculation.
    
    * numeric.c (fix_mul): ditto.
    
    * rational.c (f_imul): ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed May 30, 2011
  5. * numeric.c (int_pow): make sure to assign the result of x * z.

      If xz is optimized out, the value won't overflow.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed May 30, 2011
Commits on May 29, 2011
  1. revert r31783.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 29, 2011
  2. NetBSD also denies to set sticky bit against regular file.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed May 29, 2011
  3. try and catch for the test of setenv(3).

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed May 29, 2011
  4. * 2011-05-30

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed May 29, 2011
  5. * bignum.c (bigmul1_toom3): remove unused variable.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 29, 2011
  6. * numeric.c (flo_round): use absolute value as divisor.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 29, 2011
  7. * test/date/test_switch_hitter.rb: properties.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 29, 2011
  8. * re.c (rb_reg_match): fix rdoc of Regexp#=~.

      patched by Tsuyoshi Sawada. [Bug #4781]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed May 29, 2011
  9. * lib/webrick/https.rb (WEBrick::HTTPRequest#parse_uri):

      keep parse_uri as private. patched by okkez. [Bug #4773]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed May 29, 2011
  10. * numeric.c: add #include "interna.h" for rb_big_uminus() prototype.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nagachika committed May 29, 2011
  11. * numeric.c (flo_round): fix for negative value.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 29, 2011
Commits on May 28, 2011
  1. * test/net/http/utils.rb (TestNetHTTPUtils#teardown): add nil check.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    kosaki committed May 28, 2011
  2. * 2011-05-29

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed May 28, 2011
  3. * process.c (before_exec, after_exec): change from macro to function.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    kosaki committed May 28, 2011
  4. * process.c (before_exec, after_exec): change SIGPIPE handler to SIG_DFL

      before calling execve(). Because r31760 reintroduced an issue that
      system() may hang up (i.e. [ruby-dev:12261]).
    * process.c (save_sigpipe, restore_sigpipe): new.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    kosaki committed May 28, 2011
  5. * signal.c (Init_signal, default_handler): change default SIGPIPE han…

    …dler
    
      from empty function to SIG_IGN. [ruby-dev:43215]
    * signal.c (sigpipe): removed.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    kosaki committed May 28, 2011
Commits on May 27, 2011
  1. update comment.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed May 27, 2011
  2. * io.c (fill_cbuf): return MORE_CHAR_SUSPENDED when cbuf is not empty.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed May 27, 2011
  3. email addr fix

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    kosaki committed May 27, 2011
  4. * string.c (rb_str_bytesize): rb_str_bytesize() should use LONG2NUM().

      Patch by Nikolai Weibull. [Bug #4789] [ruby-core:36511]
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    kosaki committed May 27, 2011
  5. * io.c (fill_cbuf): Fix test-all crash.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    kosaki committed May 27, 2011
  6. * 2011-05-28

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed May 27, 2011
  7. * lib/ostruct.rb (method_missing): Handle [] and []= correctly.

      Based on a patch by Caius Durling, bug #4179 [ruby-core:33792]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    marcandre committed May 27, 2011
  8. * test/rexml/test_core.rb (Tester::test_text_frozen): split frozen

      string test. refs #4783
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    kou committed May 27, 2011
  9. * proc.c: Rdoc formatting, clarification & example fix

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    marcandre committed May 27, 2011
  10. * object.c (rb_mod_attr_accessor, rb_mod_const_set): made rdoc

      more precise by specifying Object can searched for Modules.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    marcandre committed May 27, 2011
  11. * tool/rbinstall.rb (gem): install gemspec of json. fixed #4784

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 27, 2011
  12. * io.c (validate_enc_binmode): do not clear textmode flag if

      default.  fixed #4732
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 27, 2011
  13. * io.c (fill_cbuf): finish reading at EOF.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 27, 2011
  14. * test/ruby/test_io.rb (TestIO#test_ungetc2): get rid of busy loop.

    * test/ruby/test_signal.rb (TestSignal#test_signal2): ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 27, 2011