Project

General

Profile

Activity

From 02/12/2011 to 02/18/2011

02/18/2011

09:39 PM Revision 774eeba6 (git): * 2011-02-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:39 PM Revision c36abbfd (git): * lib/test/unit.rb: partial revert of r30849. [ruby-core:32864]
* test/testunit/test_rake_integration.rb: adding an integration test
with the rake loader to prevent regressions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
05:14 PM Bug #4407: rubygems test should use require_relative
=begin

On Feb 17, 2011, at 05:13 , Shota Fukumori wrote:

> require 'rubygems/package/tar_test_case'
> -require 'test/rubygems/simple_gem'
> +if respond_to?(:require_relative)
> + require_relative 'simple_gem'
> +else
> + req...
zenspider (Ryan Davis)
12:32 PM Revision 03022c9d (git): merge revision(s) 30903:
* 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 s...
shyouhei (Shyouhei Urabe)
12:18 PM Revision 4f4dc7b2 (git): merge revision(s) 30905:
* 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 me...
shyouhei (Shyouhei Urabe)
12:02 PM Revision b593b831 (git): merges r30896 from trunk into ruby_1_9_2.
--
* 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.
...
yugui (Yuki Sonoda)
11:59 AM Revision 9f89da18 (git): merges r30896 from trunk into ruby_1_9_1.
--
* 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.
...
yugui (Yuki Sonoda)
11:48 AM Revision 452c5aff (git): merge revision(s) 30896:
* 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 me...
shyouhei (Shyouhei Urabe)
11:05 AM Revision c13f6287 (git): * 2011-02-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@30904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:05 AM Revision fca16b0c (git): * 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.
* test/ruby/test_exception.rb (TestException::test_to_s_taintness_propagation):
Tes...
shyouhei (Shyouhei Urabe)
10:47 AM Revision e86bf2db (git): merge revision(s) 30604:
* win32/win32.c (init_stdhandle): backport mistake of r29382.
some code are needless in ruby 1.8.
[ruby-core:34579]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@30902 b2dd03c8-39d4-4d8f-98ff-823fe...
shyouhei (Shyouhei Urabe)
10:43 AM Revision 4fdfac49 (git): merges r30721 from trunk into ruby_1_9_2.
--
* array.c (rb_ary_join): [].join.encoding must be US-ASCII.
[ruby-list:47790]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
10:43 AM Revision b0416f34 (git): merges r30699 and r30700 from trunk into ruby_1_9_2.
--
* configure.in: Add #include<sys/stat.h> when struct stat is
tested. Otherwise, incomplete type dereference error will occur.
--
We don't only need to change "struct stat.st_size" test, but also
need to change "stru...
yugui (Yuki Sonoda)
10:43 AM Revision b5296022 (git): merges r30683 and r30684 from trunk into ruby_1_9_2.
--
* hash.c (rb_hash_fetch_m): add GC guard to prevent intermediate
variable from GC.
--
* re.c (rb_reg_raise): add GC guard to prevent intermediate
variable from GC.
git-svn-id: svn+ssh://ci.ruby-lan...
yugui (Yuki Sonoda)
10:43 AM Revision 7c9904b2 (git): merges r30659 from trunk into ruby_1_9_2.
--
* class.c (clone_method): add GC guard to prevent intermediate
variable from GC. [Bug #4321] [ruby-dev:43107]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
10:43 AM Revision a474c66f (git): merges r30657 from trunk into ruby_1_9_2.
--
* vm_eval.c (rb_throw_obj): add GC guard to prevent intermediate
variable from GC. [Bug #4322] [ruby-dev:43108]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
10:42 AM Revision c1afbd39 (git): * 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-s...
shyouhei (Shyouhei Urabe)
10:37 AM Revision b0e9e1d4 (git): * configure.in: revert revision r29854. This revision introduced
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: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@30895 b2dd03c8-39d4...
shyouhei (Shyouhei Urabe)
08:49 AM Bug #4408 (Third Party's Issue): Net::SSH connections are subject to plaintext recovery due to lack of CTR mode
=begin
It is my understanding that due to the current Ruby OpenSSL bindings, only the following ciphers modes are supported in Net:SSH:


>> Net::SSH supports the following ciphers:

aes128-cbc
3des-cbc
blowfish-cbc
cas...
micah (micah anderson)
05:20 AM Bug #4404: Make Dir.glob respect backslash as if slash in windows
=begin
sorry for the poor example, the proposal should have been to make


Dir['C:\Users\Public\Desktop\*']


work.

-r
=end
rogerdpack (Roger Pack)
04:25 AM Bug #3972 (Open): r28668 breaks test/unit when combined with the testing rake task
=begin
r30849 causes this bug again. Please revert r30849 or stop including `include Test::Unit::RequireFiles` in `class Runner`.
=end
tenderlovemaking (Aaron Patterson)
02:30 AM Bug #4400: nested at_exit hooks run in strange order
=begin
On Thu, Feb 17, 2011 at 10:16 AM, Charles Nutter <redmine@ruby-lang.org>wrote:

> Issue #4400 has been updated by Charles Nutter.
>
>
> FWIW, JRuby already seems to match the C ordering, thought I don't think we
> did it on...
jballanc (Joshua Ballanco)
12:16 AM Bug #4400: nested at_exit hooks run in strange order
=begin
FWIW, JRuby already seems to match the C ordering, thought I don't think we did it on purpose:


~/projects/jruby ➔ jruby at_exit.rb
outer3
outer2_begin
outer2_end
inner2
outer1_begin
outer1_end
inner1
oute...
headius (Charles Nutter)
01:00 AM Bug #4401: override :method method breaks Psych
=begin
Fails the same in JRuby (we just reuse Psych's .rb code): http://jira.codehaus.org/browse/JRUBY-5520
=end
headius (Charles Nutter)
12:50 AM Feature #4265: Provide a core method Kernel#ruby for invoking a new Ruby instance
=begin
On Wed, Feb 16, 2011 at 5:40 PM, Roger Pack <rogerdpack2@gmail.com> wrote:
>> As Hongli pointed out, and as Gem.ruby shows, it's easy enough to
>> stitch together the right bits to re-launch the current Ruby. It's not
>> so ea...
headius (Charles Nutter)

02/17/2011

10:47 PM Bug #3720 (Closed): test_marshal_dump_extra_iv doesn't check as intended
=begin
This issue was solved with changeset r30891.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* test/ruby/test_marshal.rb (test_marshal_dump_extra_i...
nagachika (Tomoyuki Chikanaga)
10:13 PM Bug #4407 (Closed): rubygems test should use require_relative
=begin
hi,

rubygem's some tests should use require_relative.

Patch is here

diff --git test/rubygems/test_gem_format.rb test/rubygems/test_gem_format.rb
index f964cab..b808398 100644
--- test/rubygems/test_gem_format.r...
sorah (Sorah Fukumori)
08:03 PM Bug #4401: override :method method breaks Psych
=begin
The other way, might be:

Object.instance_method(:method).bind(target).call(:to_yaml).source_location.first

Either way is fine for me.
=end
godfat (Lin Jen-Shin)
06:37 PM Bug #4373: http.rb:677: [BUG] Segmentation fault
=begin
Sorry, I can't suggest any ways.

Anyone can suggest a way to he?
=end
sorah (Sorah Fukumori)
05:56 PM Bug #4373: http.rb:677: [BUG] Segmentation fault
=begin
Shota, what approach can I take to overcome this issue? What do you suggest? Perhaps, I can remove RVM completely? Or uninstall OpenSSL via MacPorts? I could also do a reformat of the entire system, but that would take far too lo...
krz (Christian Fazzini)
05:30 PM Bug #4373: http.rb:677: [BUG] Segmentation fault
=begin
1.9.2's ruby_lib_version is 1.9.1, so library directory is 1.9.1. (See 1.9.2's NEWS)

And I can't decide "ruby's issue" or "openssl's issue" or "rails issue."

Anyone can decide a factor for this problem?
=end
sorah (Sorah Fukumori)
04:43 PM Bug #4373: http.rb:677: [BUG] Segmentation fault
=begin
Yea it is. Earlier you told me to do $LOADED_FEATURES. I was just checking if its normal for the output of $LOADED_FEATURES to return:

"/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/x86_64-darwin10.6.0/openssl.bundle...
krz (Christian Fazzini)
04:39 PM Bug #4373: http.rb:677: [BUG] Segmentation fault
=begin
Related to your issue (this thread's issue)
=end
sorah (Sorah Fukumori)
04:36 PM Bug #4373: http.rb:677: [BUG] Segmentation fault
=begin
Shota, what is the related issue? I am still getting the same error as initial post.
=end
krz (Christian Fazzini)
02:07 PM Bug #4373: http.rb:677: [BUG] Segmentation fault
=begin
[ruby-list:47892] (Japanese) is related issue?

--
Shota Fukumori a.k.a. @sora_h - http://codnote.net/
=end
sorah (Sorah Fukumori)
02:06 AM Bug #4373: http.rb:677: [BUG] Segmentation fault
=begin
Any updates on this?

At above paste. Is it normal that openssl is bundled/using ruby 1.9.1. Look at this line:

"/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/x86_64-darwin10.6.0/openssl.bundle"
=end
krz (Christian Fazzini)
05:45 PM Bug #4405 (Closed): WIN32OLE & Threads incompatible
=begin
The WIN32OLE library does not work when using Ruby threads. It may raise exceptions such as this:

(druby://localhost:2002) threadsys.rb:7:in `connect': failed to parse display name of moniker `winmgmts://localhost/root/cimv...
larsch (Lars Christensen)
04:13 PM Bug #4388: open-uriで環境変数http_proxyを使うときに認証付きのProxyが使えません
=begin
よしだあつしです。

Rubyのポリシーとして環境変数にパスワードは書いてはいけないということはわかりました。
ただ私が問題だと思ったのはcurlやwgetでは受け入れられているものが
「何も言わずに無視される」点です。
無視するにしてもせめてwarningを出すということは無理なのでしょうか?

On Mon, 14 Feb 2011 13:00:27 +0900
Tanaka Akira <akr@fsij.org> wrote:
...
yalab (あつし よしだ)
03:32 PM Revision 80466e3f (git): * compile.c (get_exception_sym2type): guard temporary object from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
03:08 PM Revision 946e37cf (git): * 2011-02-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:08 PM Revision 8147a76b (git): * iseq.c (prepare_iseq_build): initialize iseq_compile_data::err_info
with nil. this fix exception in rb_iseq_load().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:22 PM Feature #4402 (Closed): Include an "in" operator
=begin
Duplicated: http://redmine.ruby-lang.org/issues/show/3845
=end
naruse (Yui NARUSE)
02:13 PM Bug #4359 (Rejected): regular expressions created with Regexp::FIXEDENCODING have incorrect inspect
=begin
> I suppose I could add a special case, but that seems strange. It also
> seems strange that inspect will not allow us to differentiate between
> regular expressions with different options.

inspect shows only essential ...
naruse (Yui NARUSE)
10:48 AM Bug #4359: regular expressions created with Regexp::FIXEDENCODING have incorrect inspect
=begin
On Tue, Feb 15, 2011 at 04:23:24PM +0900, Yui NARUSE wrote:
> Issue #4359 has been updated by Yui NARUSE.
>
> Status changed from Open to Feedback
>
> I don't think we must show Regexp#fixed_encoding? in Regexp#inspect.

...
tenderlovemaking (Aaron Patterson)
01:37 PM Revision 594f2fcf (git): * test/ruby/test_marshal.rb (test_marshal_dump_extra_iv):
fix a typo of local variable. [Bug #3720] [ruby-dev:42083]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
12:44 PM Feature #4257: switch_hitter - an acceleration of date library
=begin
Looks good, no unexpected failures in home_run's test suite.
=end
jeremyevans0 (Jeremy Evans)
06:43 AM Feature #4257: switch_hitter - an acceleration of date library
=begin
Added http://jira.codehaus.org/browse/JRUBY-5518 to track this. We'll want to implement a Java version of switch_hitter, most likely.
=end
headius (Charles Nutter)
12:33 PM Revision 1d403c3b (git): * 2011-02-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:33 PM Revision 52061198 (git): * ext/openssl/ossl.h: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:58 AM Bug #4404: Make Dir.glob respect backslash as if slash in windows
=begin
Hi,

You should escape backslash in double quoted string literal("" or %!!) as follows,

Dir[%!C:\\Users\\Public\\Desktop\\*!]

or you can use single-quoted string literal('' or %q!!).

Dir['C:\Users\Public\Deskto...
nagachika (Tomoyuki Chikanaga)
09:52 AM Bug #4404: Make Dir.glob respect backslash as if slash in windows
=begin
I don't think your example string means what you think it means:

$ ruby -e 'p %!a\x65!, %q!a\x65!'
"ae"
"a\\x65"
=end
drbrain (Eric Hodel)
05:17 AM Bug #4404 (Rejected): Make Dir.glob respect backslash as if slash in windows
=begin
Hello all.
Related to

http://redmine.ruby-lang.org/issues/show/2625

I at times find myself using windows paths in glob's:

Dir[%!C:\Users\Public\Desktop\*!]

But it never works, as the backslash must be (man...
rogerdpack (Roger Pack)
06:48 AM Bug #3660: Trace events seem to be missing
=begin
It's worth mentioning that tracer is broken in JRuby for the same reason. Depending on caller to be the same all the time is a bit fragile. Ideally there'd be a better marker for whether tracer should be started up right away or ...
headius (Charles Nutter)
03:24 AM Bug #4403: require command loads file twice when required symlink or file under directory which is symlink (symbolic link)
=begin
On Wed, Feb 16, 2011 at 7:48 AM, Robert Pankowecki
<redmine@ruby-lang.org> wrote:
> Bug #4403: require command loads file twice when required symlink or file under directory which is symlink (symbolic link)
> http://redmine.ru...
wyhaines (Kirk Haines)

02/16/2011

11:48 PM Bug #4403 (Rejected): require command loads file twice when required symlink or file under directory which is symlink (symbolic link)
=begin
Consider this file structure:

~/test/symbolic > tree
.
|-- a
| `-- a.rb
|-- b -> a
|-- c.rb
`-- d.rb -> c.rb


Current behavior:

ruby-1.9.2-p136 :001 > require './c'
=> true
ruby-1.9.2-p136 :...
rupert (Robert Pankowecki)
08:47 PM Bug #4400 (Closed): nested at_exit hooks run in strange order
=begin
This issue was solved with changeset r30888.
Suraj, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* eval_jump.c (rb_exec_end_proc): changed at_exit and END...
kosaki (Motohiro KOSAKI)
05:21 AM Bug #4400: nested at_exit hooks run in strange order
=begin
> |> ko1, what do you think?
> |
> |I don't have any idea about it.  However, I think it should be a
> |specification issue == Matz issue.
>
> OK, I choose C's behavior.  Although I don't recommend to rely too
> much on the...
kosaki (Motohiro KOSAKI)
04:25 AM Bug #4400: nested at_exit hooks run in strange order
=begin
Cool! I prefer C's behavior also. Thank you.
=end
sunaku (Suraj Kurapati)
08:45 PM Feature #4402 (Closed): Include an "in" operator
=begin
It would be great to support the syntax

return if result in [nil, 'exit', 'quit']

which is a more humanized way to write

return if [nil, 'exit', 'quit'].include? result

The syntax is already support in for-in ...
rosenfeld (Rodrigo Rosenfeld Rosas)
11:42 AM Revision 36a0a1a3 (git): * eval_jump.c (rb_exec_end_proc): changed at_exit and END proc
evaluation order. [Bug #4400] [ruby-core:35237]
* eval_jump.c (rb_mark_end_proc): ditto.
* test/ruby/test_beginendblock.rb (TestBeginEndBlock#test_nested_at_exit):
added a test for nested at_exit.
* test/ruby/test_beginendblock.rb (Te...
kosaki (Motohiro KOSAKI)
11:17 AM Revision 90b86c51 (git): * 2011-02-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:17 AM Revision 7bcc7db8 (git): * ext/openssl/openssl_missing.h: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:04 AM Feature #4335: String#split for empty string is always empty array
=begin
'/'.split('/', -1) returns ["", ""].
I don't think it's necessary to be default.
=end
nobu (Nobuyoshi Nakada)
01:37 AM Bug #4373: http.rb:677: [BUG] Segmentation fault
=begin
I get:

$ rvm use 1.9.2
Using /Users/Chris/.rvm/gems/ruby-1.9.2-p136

$ ruby -v
ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10.6.0]

$ rails console
Loading development environment (Rails 3.0.3)
r...
krz (Christian Fazzini)
12:12 AM Bug #4401 (Closed): override :method method breaks Psych
=begin
I am not sure if this could be considered a bug, but it used to work.
To reproduce it:

ruby -r psych -v -e 'Psych.dump(Struct.new(:method).new)'
ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10.5.0]
/usr/lo...
godfat (Lin Jen-Shin)

02/15/2011

11:48 PM Bug #4400: nested at_exit hooks run in strange order
=begin
Hi,

In message "Re: [ruby-core:35252] Re: [Ruby 1.9-Bug#4400] nested at_exit hooks run in strange order"
on Tue, 15 Feb 2011 22:32:39 +0900, SASADA Koichi <ko1@atdot.net> writes:
|
|(2011/02/15 20:25), Motohiro KOSAKI w...
matz (Yukihiro Matsumoto)
10:32 PM Bug #4400: nested at_exit hooks run in strange order
=begin
(2011/02/15 20:25), Motohiro KOSAKI wrote:
> ko1, what do you think?

I don't have any idea about it. However, I think it should be a
specification issue == Matz issue.

Regards,
Koichi

--
// SASADA Koichi at atdot d...
ko1 (Koichi Sasada)
10:31 PM Bug #4400: nested at_exit hooks run in strange order
=begin
> btw, C's atexit() has different behavior.
>
> (snip)
>
> % gcc at_exit.c; ./a.out
> outer3
> outer2_begin
> outer2_end
> inner2
> outer1_begin
> outer1_end
> inner1
> outer0

Python has the same behavior with C.
...
kosaki (Motohiro KOSAKI)
08:25 PM Bug #4400: nested at_exit hooks run in strange order
=begin
The attached patch is to adapt C's behavior.

And, Current behavior seems to be introduced by following commit.
Therefore we should hear ko1's opinion. I think.

ko1, what do you think?

--------------------------...
kosaki (Motohiro KOSAKI)
07:38 PM Bug #4400: nested at_exit hooks run in strange order
=begin
2011/2/15 Suraj Kurapati <redmine@ruby-lang.org>:
> Bug #4400: nested at_exit hooks run in strange order
> http://redmine.ruby-lang.org/issues/show/4400
>
> Author: Suraj Kurapati
> Status: Open, Priority: Normal
> Category...
kosaki (Motohiro KOSAKI)
03:56 PM Bug #4400: nested at_exit hooks run in strange order
=begin
By the way, this issue is not contrived. It prevents propagation of a
proper exit status when using Test::Unit with Capybara (Selenium driver)
where a unit test (run from Test::Unit's at_exit hook) loads the Capybara
libr...
sunaku (Suraj Kurapati)
03:49 PM Bug #4400 (Closed): nested at_exit hooks run in strange order
=begin
Hello,

The documentation for Kernel#at_exit says "If multiple [at_exit] handlers are
registered, they are executed in reverse order of registration". However, does
not seem to be true for nested at_exit hooks (registeri...
sunaku (Suraj Kurapati)
10:58 PM Bug #1813 (Open): Threading seg fault (1.9.1-p129 Linux/Mac)
=begin
This issue can be still reproduced on trunk. (ruby 1.9.3dev (2011-02-15 trunk 30882) [x86_64-linux])

reopened.
=end
kosaki (Motohiro KOSAKI)
08:37 PM Bug #4373: http.rb:677: [BUG] Segmentation fault
=begin
I wanna check that it isn't issue of irb.

Hmm... could you try the following line in `rails console`?

$ rails console
>>$LOADED_FEATURES
=end
sorah (Sorah Fukumori)
05:38 PM Bug #4373: http.rb:677: [BUG] Segmentation fault
=begin
Hi Shota, yea that seems to work. Why doesn't it work in Rails console though?

$ irb -rtwitter
ruby-1.9.2-p136 :001 > Twitter.user("sferik").location
=> "San Francisco"

=end
krz (Christian Fazzini)
05:20 PM Bug #4373 (Feedback): http.rb:677: [BUG] Segmentation fault
=begin
Could you try at irb

$ irb -rtwitter
>> Twitter.user("sferik").location

?
=end
sorah (Sorah Fukumori)
05:06 PM Bug #4373: http.rb:677: [BUG] Segmentation fault
=begin
Hi Sakuro, this is what I get in Rails console:

ruby-1.9.2-p136 :001 > require 'openssl'
=> nil
ruby-1.9.2-p136 :002 > system "otool -L #{$LOADED_FEATURES.grep(/openssl.bundle/).join (' ')}"
/Users/Chris/.rvm/rubies/...
krz (Christian Fazzini)
09:28 AM Bug #4373: http.rb:677: [BUG] Segmentation fault
=begin
Try this in both console to see which openssl is used.

require 'openssl'
system "otool -L #{$LOADED_FEATURES.grep(/openssl.bundle/).join (' ')}"
=end
sakuro (Sakuro OZAWA)
06:57 AM Bug #4373: http.rb:677: [BUG] Segmentation fault
=begin
I think you don't using `rvm install 1.9.2 -C --with-openssl-dir=/usr`'s ruby at rails
=end
sorah (Sorah Fukumori)
03:54 AM Bug #4373: http.rb:677: [BUG] Segmentation fault
=begin
Hi Benoit, I tried both rvm install 1.9.2 -C --with-openssl-dir=/usr and rvm install 1.9.2 --with-openssl-dir=/usr -C --with-openssl-dir=/usr. Still get the problem in Rails console.

ruby -r twitter -e 'puts Twitter.user("sfer...
krz (Christian Fazzini)
07:25 PM Bug #4396: windows commands starting with "@" should run at all even though command string is quoted by `"'.
=begin
Hi Jon,

Thanks for good demonstration. It encourage to me very much.
But #3 is a bit misleading. ^ was removed when command line parsing (ie python interpreter invoking) phase. therefore system() haven't seen ^.

Examp...
kosaki (Motohiro KOSAKI)
01:51 AM Bug #4396: windows commands starting with "@" should run at all even though command string is quoted by `"'.
=begin
and...

C:\>lua -e "os.execute(\"^@echo foo\")"
foo

C:\>python -c "import os;os.system(\"^@echo foo\")"
foo
=end
jonforums (Jon Forums)
01:45 AM Bug #4396: windows commands starting with "@" should run at all even though command string is quoted by `"'.
=begin
fwiw, behavior on win7 32-bit with lua v5.1.4 and python v2.7.1...

C:\>lua -e "os.execute('@echo foo')"
foo

C:\>lua -e "os.execute('^@echo foo')"
'@echo' is not recognized as an internal or external command,
opera...
jonforums (Jon Forums)
04:30 PM Feature #3685: Struct does not define #to_ary, needed for implicit-splat.
=begin

=end
naruse (Yui NARUSE)
04:27 PM Bug #4349 (Closed): typo of rdoc in marshal.c
=begin
This issue was solved with changeset r30882.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
Fix typo of rdoc. [ruby-core:35016]
=end
naruse (Yui NARUSE)
04:23 PM Bug #4359 (Feedback): regular expressions created with Regexp::FIXEDENCODING have incorrect inspect
=begin
I don't think we must show Regexp#fixed_encoding? in Regexp#inspect.
=end
naruse (Yui NARUSE)
04:22 PM Feature #4335 (Feedback): String#split for empty string is always empty array
=begin
We don't think we should follow Python's result
and your this proposal doesn't have enough reason to change current behavior even if it breaks compatibility.

I don't say there is no chance but it should be hard that you ca...
naruse (Yui NARUSE)
04:17 PM Bug #4381 (Closed): Encoding of result is not consistent for String#[]=
=begin
This issue was solved with changeset r30881.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
Add a test for the encoding of str_aset. [ruby-core:35142]...
naruse (Yui NARUSE)
04:17 PM Bug #4382 (Closed): Encoding of result string for String#gsub! is not consistent for BINARY
=begin
This issue was solved with changeset r30876.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* string.c (rb_enc_cr_str_buf_cat): remove special treatme...
naruse (Yui NARUSE)
04:17 PM Bug #4380 (Closed): Encoding of result string for String#gsub! is not consistent for BINARY
=begin
This issue was solved with changeset r30876.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* string.c (rb_enc_cr_str_buf_cat): remove special treatme...
naruse (Yui NARUSE)
12:38 PM Revision 85caed47 (git): * ext/gdbm/gdbm.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:28 PM Bug #3660: Trace events seem to be missing
=begin
I think this was fixed by r29914 which changes


elsif caller.size <= 1

to:

elsif caller.count {|bt| /\A<internal:[^<>]+>:/ !~ bt} <= 1


=end
rocky (Rocky Bernstein)
11:35 AM Revision 67b9e488 (git): * array.c (ary_join_1): fix array size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:44 AM Revision 61a4ee9b (git): * configure.in: fix and resubmit r30621. [ruby-dev:43203]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
07:24 AM Revision 01e84b10 (git): Fix typo of rdoc. [ruby-core:35016]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:14 AM Revision 1a492ba1 (git): Add a test for the encoding of str_aset. [ruby-core:35142]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:08 AM Revision c7d3b3f1 (git): * array.c (array_join): copy the encoding of the first element as
an initial encoding.
* array.c (array_join_0): ditto.
* array.c (array_join_1): ditto.
* array.c (inspect_ary): ditto.
* array.c (array_join_1): add an argument to check the appending is
first one or not.
git-svn-id: svn+ssh://ci....
naruse (Yui NARUSE)
07:08 AM Revision 7798b966 (git): * hash.c (inspect_i): copy the encoding of the first key as
an initial encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:08 AM Revision 366e1c38 (git): * array.c (inspect_ary): don't taint the inspected result of a
recursive array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:08 AM Revision a8f5a06a (git): * encoding.c (rb_enc_compatible): change the rule for empty strings:
remove the special treatment of the US-ASCII encoded empty string.
Now Encoding.compatible? usually respect the encoding of the
receiver.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:08 AM Revision 443b1517 (git): * string.c (rb_enc_cr_str_buf_cat): remove special treatment of
ASCII-8BIT receivers.
* string.c (str_gsub): set initial encoding of the buffer as the
same of the receiver. [ruby-core:35141]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:35 AM Bug #4398 (Third Party's Issue): Highlighting of "'?" in Emacs
=begin
The string "'?" breaks syntax highlighting in Emacs. Emacs considers the string unterminated. See attached file for an example.
=end
djwhitt (David Whittington)
12:51 AM Revision 7da18cf1 (git): * 2011-02-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:51 AM Revision 25a4c792 (git): * test/ruby/test_system.rb (TestSystem#test_system_at): use findstr
command instead of find command, because the latter is confusing
another famous Unix command.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura

02/14/2011

09:59 PM Bug #4397: test-mkmf fails due to compilation errors
=begin
卜部です。

(2011/02/14 21:43), KOSAKI Motohiro wrote:
> 結論からいうと、
>
> # もしwarnflagsが未指定でGCCなら
> if test "$GCC:${warnflags+set}:no" = yes::no; then
> # warnflagsを一時的に空にして、それをrb_cv_warningsに保存
> rb_cv_warnflags="$warnflags"...
shyouhei (Shyouhei Urabe)
09:43 PM Bug #4397: test-mkmf fails due to compilation errors
=begin
>> 最後に今回問題になっているr30621により根本修正としてconftest中は
>> -Werror=implicit-function-declaration が自動付加をしなくなりました。
>
> r30621の問題点は
>> warnflags=
> としてユーザーが与えたフラグを一切無視するようになっている点なので、ようするに
> 殺しすぎです。下に記したとおり私の環境ではwarnflagsでわざわざ-Wno-long-long...
kosaki (Motohiro KOSAKI)
09:17 PM Bug #4397 (Closed): test-mkmf fails due to compilation errors
=begin
This issue was solved with changeset r30872.
Shyouhei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* configure.in: revert r30621. That revision introduc...
shyouhei (Shyouhei Urabe)
08:30 PM Bug #4397: test-mkmf fails due to compilation errors
=begin
(2011/02/14 20:05), Yusuke ENDOH wrote:
> 遠藤です。
>
> 2011年2月14日19:53 Urabe Shyouhei <shyouhei@ruby-lang.org>:
>>> デフォルトでこのオプションになるようにすべきではないんでしょうか?
>>> 今のままだと自然に卜部さんだけが問題にあたって「ぎゃっ」と叫ぶ構図になっているんじゃないかと思いますがどうでしょうか
>>
>> しかしデフ...
shyouhei (Shyouhei Urabe)
08:05 PM Bug #4397: test-mkmf fails due to compilation errors
=begin
遠藤です。

2011年2月14日19:53 Urabe Shyouhei <shyouhei@ruby-lang.org>:
>> デフォルトでこのオプションになるようにすべきではないんでしょうか?
>> 今のままだと自然に卜部さんだけが問題にあたって「ぎゃっ」と叫ぶ構図になっているんじゃないかと思いますがどうでしょうか
>
> しかしデフォルトにしちゃうのはどうなのかなあ。きっとgcc拡張に依存している拡張
> ライブラリとかいっぱいあ...
mame (Yusuke Endoh)
07:54 PM Bug #4397: test-mkmf fails due to compilation errors
=begin
(2011/02/14 19:33), KOSAKI Motohiro wrote:
> ところで、素朴な疑問なんですが、これの意図は?「gcc拡張をうっかり使ってしまってportabilityが下がるのを防ぎたい」という意図であれば

はい。防ぎたいというか検出したいと思ってこのような設定になっています。したがっ
てあまり警告がたくさん出ると埋もれてしまって嬉しくないです。

> デフォルトでこのオプションになるようにすべきではないんでしょ...
shyouhei (Shyouhei Urabe)
07:33 PM Bug #4397: test-mkmf fails due to compilation errors
=begin
> これでもまだ長いと思われるので更に解説すると、debugflagsによりgccはstrict ansi
> modeになっており、warnflagsで数々のgcc拡張機能を使ったときの警告を抑制していま
> す。なのでwarnflagsだけ切られるとstrict ansiとしてコンパイルしようとして失敗す
> るわけ。

親切にありがとうございます。今後は時間のあるときはこのオプションでもテストするようにします。

ところで、素朴な疑問...
kosaki (Motohiro KOSAKI)
07:05 PM Bug #4397: test-mkmf fails due to compilation errors
=begin
(2011/02/14 18:24), KOSAKI Motohiro wrote:
>> 手元の環境では r30621 から以下のようにtest-allが失敗するようになっています。
>>
>> http://www.atdot.net/sp/raw/vsnlgl
>>
>> ちょっと変更の意図が分からないので説明していただけませんか。困っているので、特に意味が無いようであればrevertします。
>>
>
> 小崎です
>
>...
shyouhei (Shyouhei Urabe)
06:25 PM Bug #4397: test-mkmf fails due to compilation errors
=begin
2011年2月14日18:12 Shyouhei Urabe <redmine@ruby-lang.org>:
> Bug #4397: test-mkmf fails due to compilation errors
> http://redmine.ruby-lang.org/issues/show/4397
>
> 起票者: Shyouhei Urabe
> ステータス: Open, 優先度: Normal
> ruby -v: ru...
kosaki (Motohiro KOSAKI)
06:12 PM Bug #4397 (Closed): test-mkmf fails due to compilation errors
=begin
手元の環境では r30621 から以下のようにtest-allが失敗するようになっています。

http://www.atdot.net/sp/raw/vsnlgl

ちょっと変更の意図が分からないので説明していただけませんか。困っているので、特に意味が無いようであればrevertします。

あと以前から思っているのですが、ユーザーから渡されたコンパイルフラグを勝手に弄るのは感心しません。
=end
shyouhei (Shyouhei Urabe)
06:12 PM Bug #4396: windows commands starting with "@" should run at all even though command string is quoted by `"'.
=begin
If you are writing C and you need to run "@echo" command, you should escape the string by `^' (caret).

ie,
------------------------------------
main()
{
system("^@echo foo");
}

----------------------------...
kosaki (Motohiro KOSAKI)
06:04 PM Bug #4396 (Rejected): windows commands starting with "@" should run at all even though command string is quoted by `"'.
=begin
This issue

C test program.
------------------------------------------
main()
{
system("\"@echo foo\"");
}
------------------------------------------

=> foo


Ruby test program.
-------------------...
kosaki (Motohiro KOSAKI)
02:13 PM Revision d7feebb4 (git): * thread.c (rb_thread_io_blocking_region): reset th->waiting_fd
after blocking region, because remaining waiting_fd might
cause unnecessary IOError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:17 PM Bug #4393 (Closed): windows commands starting with "@" should run at all
=begin
This issue was solved with changeset r30867.
Roger, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* win32/win32.c (is_internal_cmd): if the first char of p...
usa (Usaku NAKAMURA)
01:02 PM Bug #4388: open-uriで環境変数http_proxyを使うときに認証付きのProxyが使えません
=begin
2011年2月11日23:08 Mitsuru Ogino <ogino@verama.net>:

> そういう意見もあるとは思います。なにが危険かというのをライブラリ側が決め
> るかユーザが決めるかという問題でもありますが。環境変数が他のユーザに公開
> される OS(BSD系?)でも、会社などではローカルユーザにはプロキシサーバの
> パスワードを秘密にする必要がないところもあると思います。

危険がない状況が存在する事自体はわかっ...
akr (Akira Tanaka)
12:07 PM Revision fd569ed7 (git): * configure.in: revert r30621. That revision introduced mkmf test
failures and it turned out to be OK to revert. [ruby-dev:43203]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
12:04 PM Revision 8f59ed79 (git): * ext/fiddle/conversions.h: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:49 AM Revision c6e63806 (git): * win32/setup.mak (USE_RUBYGEMS): fixed r30835. It didn't work on
mswin32 port. If you changed win32/configure.bat, you should change
setup.mak too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
09:34 AM Bug #4395 (Closed): Can't require test/rubygems/simple_gem when tests run in different directory
=begin
It fails as following:
1) Skipped:
test_require_failed(test/rubygems/simple_gem) [/home/naruse/ruby/test/rubygems/test_gem_format.rb:8]:
cannot load such file -- test/rubygems/simple_gem

2) Skipped:
test_require...
naruse (Yui NARUSE)
09:11 AM Bug #4394 (Rejected): Bug in floating point multiplication
Learn floating point numbers.
What Every Computer Scientist Should Know About Floating-Point Arithmetic
http://docs.sun.com/source/806-3568/ncg_goldberg.html
http://wiki.github.com/rdp/ruby_tutorials_core/ruby-talk-faq#floats_imprec...
naruse (Yui NARUSE)
05:34 AM Bug #4394: Bug in floating point multiplication
This is how floating point math works. See here for more info: http://en.wikipedia.org/wiki/Floating_point#Representable_numbers.2C_conversion_and_rounding
If you want exact decimal math, try:
```
ruby-1.9.2-p136 :001 > require 'b...
jballanc (Joshua Ballanco)
03:01 AM Bug #4394 (Rejected): Bug in floating point multiplication
I stumbled upon the following odd rounding error in Float multiplication while using irb to calculate the tip for the pizza service ;-):

12.4 * 1.05 yields 13.020000000000001, but should be 13.02
philomath (Stefan Lembach)
08:49 AM Revision 8068d73c (git): * test/ruby/test_system.rb (TestSystem#test_system_at):
added test. [ruby-core:35218] (#4393)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
08:30 AM Revision cee21ad2 (git): * test/ruby/test_system.rb (TestSystem#test_system_at):
added test. [ruby-core:35218] (#4393)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
04:17 AM Revision 23301142 (git): * win32/win32.c (is_internal_cmd): if the first char of prog is '@',
execute it via shell. [ruby-core:35218] (#4393)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:34 AM Revision 0755c1c8 (git): * lib/test/unit.rb: revert r30863, because it causes too many noise.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura

02/13/2011

11:00 PM Bug #4393: windows commands starting with "@" should run at all
=begin
Agreed. C lang's System() allow system("@dir"). Therefore ruby's should allow it too.
Plus, This can be reporoduced on trunk. then I've replaced `ruby -v' field.
=end
kosaki (Motohiro KOSAKI)
11:40 AM Bug #4393 (Closed): windows commands starting with "@" should run at all
=begin
Hello all.
Originally reported this here:
http://www.ruby-forum.com/topic/1060963

I believe in windows the following should work but fails (should call out to cmd to process it...)

>> system("ls.exe")
2.3 2.4 ...
rogerdpack (Roger Pack)
10:35 PM Revision 9c8770e0 (git): * 2011-02-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:35 PM Revision bc2abdca (git): * ext/curses/curses.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:00 PM Feature #4391 (Assigned): date/delta tests
=begin

=end
naruse (Yui NARUSE)
12:43 AM Feature #4391 (Rejected): date/delta tests
=begin
Attached are a few tests for the Date::Delta class. I hope they are of some use.
And some points which might be considered bugs.
(Everything for 1.9.2 patchlevel 174, probably applies to older versions too)


i) Interpl...
skra (Sebastian Krause)
10:41 AM Revision 63ca916e (git): * lib/test/unit.rb (Test::Unit::RequireFiles#non_options): skip
test suites failed to load instead of mere messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:47 AM Bug #4392 (Closed): Typo in enum.c
=begin
This issue was solved with changeset r30857.
Gaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* enum.c (enum_inject): typo fixed. a patch from Gaku Ueda...
matz (Yukihiro Matsumoto)
02:51 AM Bug #4392 (Closed): Typo in enum.c
=begin
I found a small typo in enum.c source file.

diff --git a/enum.c b/enum.c
index 823d111..584b838 100644
--- a/enum.c
+++ b/enum.c
@@ -537,7 +537,7 @@ inject_op_i(VALUE i, VALUE p, int argc, VALUE *argv)
* will be...
gaku (Gaku Ueda)
01:22 AM Feature #4257: switch_hitter - an acceleration of date library
=begin
i'm planning to apply this change within a couple of weeks.
=end
tadf (tadayoshi funaba)
01:13 AM Revision 0224758a (git): * ChangeLog: re-edit, and fix indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:56 AM Revision 7c3a8027 (git): * test/openssl/test_config.rb (OpenSSL#test_freeze): fix error
message assertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:56 AM Revision afafb8c0 (git): * test/io/nonblock/test_flush.rb (TestIONonblock#flush_test):
return true to finish the test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:56 AM Revision b16fc578 (git): * test/syck/test_string.rb (Syck::TestString#test_non_binary_string):
use assert_not instead of refute, unless required minitest
directly.
* test/test_prime.rb (TestPrime::sieve.Integer): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:56 AM Revision c84e5292 (git): * test/xmlrpc/webrick_testing.rb (WEBrick_Testing#start_server):
catch IOError when server socket was closed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:51 AM Bug #4375 (Closed): "undefined method `coerce' for nil:NilClass" for "Date.new === nil"
=begin

=end
tadf (tadayoshi funaba)

02/12/2011

10:41 PM Revision 00e84afa (git): * enum.c (enum_inject): typo fixed. a patch from Gaku Ueda in
[ruby-core:35216].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
09:26 PM Bug #4373: http.rb:677: [BUG] Segmentation fault
=begin
On 12 February 2011 10:26, Christian Fazzini <redmine@ruby-lang.org> wrote:
> Issue #4373 has been updated by Christian Fazzini.
>
>
> I followed: http://rvm.beginrescueend.com/packages/openssl/. I have tried installing ruby ...
Eregon (Benoit Daloze)
06:42 PM Bug #4373: http.rb:677: [BUG] Segmentation fault
=begin
Here is the latest crash report log
=end
krz (Christian Fazzini)
06:26 PM Bug #4373: http.rb:677: [BUG] Segmentation fault
=begin
I followed: http://rvm.beginrescueend.com/packages/openssl/. I have tried installing ruby via rvm with numerous attempts. Making sure I remove the previous version before installing a new one:

rvm install 1.9.2 --with-openssl-...
krz (Christian Fazzini)
12:07 PM Bug #4373: http.rb:677: [BUG] Segmentation fault
=begin
>I am still confused. If it is an openssl problem, then shouldn't rvm install 1.9.2 --with-openssl-dir=/usr/local

You typed wrong my instruction 2 times, please look my instruction

I said "--with-openssl-dir=/usr", but ...
sorah (Sorah Fukumori)
11:43 AM Bug #4373: http.rb:677: [BUG] Segmentation fault
=begin
At 7:04 AM +0900 2/12/11, Christian Fazzini wrote:
>Issue #4373 has been updated by Christian Fazzini.
>
>
>I am still confused. If it is an openssl problem, then shouldn't rvm install 1.9.2 --with-openssl-dir=/usr/local
> f...
stepheneb (Stephen Bannasch)
07:00 AM Bug #4373: http.rb:677: [BUG] Segmentation fault
=begin
I am still confused. If it is an openssl problem, then shouldn't rvm install 1.9.2 --with-openssl-dir=/usr/local
fix it since I am using OSX default openssl?

Second when I am using RVM's ruby version. I can do ruby -r twi...
krz (Christian Fazzini)
03:51 PM Revision ce430673 (git): * lib/date.rb (Date#===): [ruby-core:35127]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
03:29 PM Revision 2eb7b571 (git): * 2011-02-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:29 PM Revision 420d98e4 (git): * lib/test/unit.rb (Test::Unit::Options#process_args): always
return options.
* lib/test/unit.rb (Test::Unit::RequireFiles#non_options): return
if any test case get loaded.
* lib/test/unit.rb (Test::Unit::AutoRunner#initialize): do not add
default directory if it is nil.
* lib/test/unit.rb (Tes...
nobu (Nobuyoshi Nakada)
02:47 PM Bug #4390 (Closed): TCPSocket#readline doesn't raise if the socket is #close'd in another thread
=begin
This issue was solved with changeset r30852.
Alex, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* thread.c (rb_thread_io_blocking_region): new function to...
nobu (Nobuyoshi Nakada)
01:18 AM Bug #4390 (Closed): TCPSocket#readline doesn't raise if the socket is #close'd in another thread
=begin
In Ruby 1.8.7-p302, the following code outputs "Success!". On 1.9.2-p136, it hangs at q.pop, because the blocked readline doesn't raise (or, more precisely, it does, I think, but the thread isn't woken up to process it).

re...
regularfry (Alex Young)
02:17 PM Revision 7f46fadd (git): * lib/test/unit.rb (assert_include): add alias.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:44 AM Revision 58b32536 (git): * thread.c (rb_thread_io_blocking_region): new function to run
blocking region with GIL released, for fd.
* thread.c (rb_thread_fd_close): implement. [ruby-core:35203]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:42 AM Revision dda8de06 (git): * vm.c (th_init): rename from th_init2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:41 AM Revision aca69e1f (git): * lib/test/unit.rb (Test::Unit::AutoRunner#initialize): use
default_dir if no test case given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:41 AM Revision 4e3df72f (git): * lib/test/unit.rb (Test::Unit::Runner): rename from Test::Unit::Mini.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:08 AM Bug #4386: encoding: directive does not affect regex expressions
=begin
On Wed, Feb 9, 2011 at 18:47, Usaku NAKAMURA <redmine@ruby-lang.org> wrote:
> But, as Eric said, US-ASCII regexp can match with UTF-8 string.
> So, this bug may not cause any troubles, I guess.

So long as ASCII regexps will ...
meta (mathew murphy)
12:30 AM Revision 58ed5a45 (git): * lib/test/unit.rb (Test::Unit::GlobOption#non_options): run tests
under base directory if no argument given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
 

Also available in: Atom