| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
| |
should be clean. based on a patch from arton <artonx AT
yahoo.co.jp> at [ruby-dev:35269]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
some situation. [ruby-bugs-20793]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
str and len by src.
* gc.c (gc_mark_children): mark src field of regexp.
(obj_free): don't free str field.
* re.c (REG_BUSY): removed.
(rb_reg_initialize): prohibit re-initialize regexp.
(rb_reg_search): use usecnt to prevent freeing regexp currently
using. this prevents SEGV by:
r = /\A((a.)*(a.)*)*b/
r =~ "ab" + "\xc2\xa1".force_encoding("euc-jp")
t = Thread.new { r =~ "ab"*8 + "\xc2\xa1".force_encoding("utf-8")}
sleep 0.2
r =~ "ab"*8 + "\xc2\xa1".force_encoding("euc-jp")
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
| |
rb_usascii_str_new2): use inline versions only for constant
literals.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
rb_usascii_str_new2): use inline versions for gcc 4 or lator.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
fixed /tmp/apple_gem_home directory.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
| |
converting String to VT_BSTR in OLE.
* test/win32ole/test_win32ole.rb : ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
(num_members): new function.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
| |
$0. [ruby-dev:35261]
* lib/test/unit/ui/console/testrunner.rb (TestRunner#finished): ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
| |
cf [ruby-dev:35227]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
* test/erb/test_erb.rb: add tests for def_method.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
create a new instance.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
| |
rb_usascii_str_new2): use with-length versions with strlen to
optimize strlen, if optimized.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
| |
rb_usascii_str_new2): use with-length versions with strlen to
optimize strlen.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
| |
* process.c (rb_fork): check CANNOT_FORK_WITH_PTHREAD macro.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
| |
[ruby-core:15719], [ruby-core:17340]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
Yamaguchi <keita.yamaguchi at gmail.com>.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
rdoc.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
| |
a patch from Keita Yamaguchi <keita.yamaguchi@gmail.com>.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
| |
like function. see <http://d.hatena.ne.jp/ku-ma-me/20080624/p1>.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
overflow. reported by Vincenzo Iozzo <snagg AT openssl.it>.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
| |
* lib/erb.rb (ERB::Compiler#compile): fix for broken input.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
exception raised.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
[ruby-bugs-20792]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
pthread library, and define the macro when checked only.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
| |
C's stdio.
fixed [ruby-dev:35183]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
| |
is not child but grandchild.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
| |
getppid() on win32 (but only Win2k or later).
* process.c (get_ppid): remove win32 special logic.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
| |
* test_process.rb (test_getpriority): skip test if Process::PRIO_USER is not
defined.
* test_process.rb (test_setpriority): cannot rescue exceptions which raise in
assert_nothing_raised. check Process:PRIO_USER before test to skip instead.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
| |
which support binmode.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
Adam Strzelecki <ono@java.pl> in [ruby-core:17220].
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|