Permalink
Commits on Feb 23, 2011
  1. * eval.c (rb_thread_join), ext/thread/thread.c (wake_one): adjusts

    nobu committed with FooBarWidget May 15, 2009
      targets of rest waiting threads to join.  [ruby-core:23457]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. Revert "Re-incorporate "mutual join deadlock" patch fix."

    FooBarWidget committed Feb 23, 2011
    This reverts commit 189d67e.
Commits on Feb 19, 2011
  1. Merge branch 'master' into bugfix_backport

    FooBarWidget committed Feb 19, 2011
    Conflicts:
    	ChangeLog
Commits on Feb 18, 2011
  1. add tag v1_8_7_334

    shyouhei committed Feb 18, 2011
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_334@30912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. merge revision(s) 30903:

    shyouhei committed Feb 18, 2011
    	* test/ruby/test_exception.rb (TestException::test_to_s_taintness_propagation):
    	  Test for below.
    	* error.c (exc_to_s): untainted strings can be tainted via
    	  Exception#to_s, which enables attackers to overwrite sane strings.
    	  Reported by: Yusuke Endoh <mame at tsg.ne.jp>.
    	* error.c (name_err_to_s): ditto.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@30911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. merge revision(s) 30905:

    shyouhei committed Feb 18, 2011
    	* lib/fileutils.rb (FileUtils::remove_entry_secure): there is a
    	  race condition in the case where the given path is a directory,
    	  and some other user can move that directory, and create a
    	  symlink while this method is executing.
    	  Reported by: Nicholas Jefferson <nicholas at pythonic.com.au>
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@30910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. merge revision(s) 30604:

    shyouhei committed Feb 18, 2011
    	* win32/win32.c (init_stdhandle): backport mistake of r29382.
    	  some code are needless in ruby 1.8.
    	  [ruby-core:34579]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@30902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. * configure.in: revert revision r29854. This revision introduced

    shyouhei committed Feb 18, 2011
      binary incompatibilities on some circumstances.  The bug that
      revision was fixing gets reopened by this reversion.
      [ruby-dev:43152] cf. [Bug #2553]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@30895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Feb 11, 2011
  1. Re-incorporate "mutual join deadlock" patch fix.

    jpr5 committed with FooBarWidget Jun 27, 2010
    Observed odd mutex behaviour in a threaded rack app while ab'ing it for performance
    testing.  Discovered that this issue had already been addressed:
    http://redmine.ruby-lang.org/issues/show/1471
    
    http://gist.github.com/455046 demonstrates the issue.  I used the two patches at
    http://redmine.ruby-lang.org/issues/show/1471#note-8 to solve it.
  2. * ext/zlib/zlib.c (zstream_append_input2): add RB_GC_GUARD.

    FooBarWidget committed Feb 11, 2011
      This caused failure when test/csv is executed with GC.stress = true.
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@28080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    
    Conflicts:
    
    	ChangeLog
    	ext/zlib/zlib.c
  3. * ext/rational/rational.c: Added to provide a fast implementation

    FooBarWidget committed Jun 2, 2010
      of Fixnum#gcd (and maybe some others in the future) in C.  The
      base code was submitted by Kurt Stephens. [Feature #2561]
    
    * ext/rational/lib/rational.rb: Moved from lib/rational.rb.  Make
      overall code optimization; submitted by Kurt Stephens.
      [Feature #2561]
    
    * test/rational/test_rational.rb, test/rational/test_rational2.rb:
      Add tests for Rational, ported from trunk.
    
    * test/rational/test_fixnum_gcd.rb: Add a test for Integer#gcd.
      Case values are only provided for i386 and amd64 at the moment;
      submitted by Kurt Stephens. [Feature #2561]
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@26581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    
    Conflicts:
    
    	ChangeLog
    	NEWS
    	ext/rational/lib/rational.rb
  4. Merge branch 'master' into mbari

    FooBarWidget committed Feb 11, 2011
    Conflicts:
    	eval.c
Commits on Dec 24, 2010
  1. add tag v1_8_7_330

    shyouhei committed Dec 24, 2010
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_330@30335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 23, 2010
  1. merge revision(s) 30302:

    shyouhei committed Dec 23, 2010
    	* lib/resolv.rb (Resolv::IPv4::Regex): make it only accept 0 to 255.
    	  [ruby-core:29501]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@30303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 20, 2010
  1. * 2010-12-21

    matzbot committed Dec 20, 2010
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@30282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * lib/webrick/https.rb: uninitialized instance variables.

    nahi committed Dec 20, 2010
              Backport a part of r20864 for ruby_1_8.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@30281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 4, 2010
  1. merge revision(s) 23240:

    shyouhei committed Dec 4, 2010
    ?\012
    	* lib/mkmf.rb (init_mkmf): needs default library path even if
    	  cross compiling.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org>
    
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@30081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. merge revision(s) 29933:

    shyouhei committed Dec 4, 2010
    ?\012
    	* re.c (rb_reg_regcomp): should succeed the taint status from the
    	  origin. [ruby-core:33338]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org>
    
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@30080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 2, 2010
  1. * Makefile.in (fake.rb): need to expand the topdir in case of it

    shyouhei committed Dec 2, 2010
      being relative, a patch from Luis Lavena <luislavena at gmail.com>.
      [ruby-core:33466]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@30051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e