Project

General

Profile

Activity

From 03/04/2011 to 03/10/2011

03/10/2011

10:44 PM Bug #4492: Segfault on successive stack overflows
=begin
Oops, apparently Redmine didn't like my markup. Same report with an alternative syntax follows...
On a Mac, this snippet crashes Ruby:
def f(*x); end
begin
f(*(0..120000))
rescue
nil
end
f(*(0..120000))
H...
catwell (Pierre Chapuis)
10:39 PM Bug #4492 (Closed): Segfault on successive stack overflows
On a Mac, this snippet crashes Ruby:
```
def f(*x); end
begin
f(*(0..120000))
rescue
nil
end
f(*(0..120000))
```
Here is the result when run with ruby:
```
segfaulter.rb:7: [BUG] Segmentation fault
ruby 1....
catwell (Pierre Chapuis)
08:25 PM Bug #4474: 複数のスレッドからトランザクションに入ろうとした場合のPStoreの挙動
=begin
r31050にて#4のパッチが取り込まれましたが、
require 'pstore'

p = PStore.new("foo", true)

p.transaction { p.transaction { } }
上記のコードで例外nested transaction (PStore::Error)ではなく例外deadlock; recursive locking (ThreadError)が発生するというバグがありました...
Glass_saga (Masaki Matsushita)
06:05 PM Bug #4474: 複数のスレッドからトランザクションに入ろうとした場合のPStoreの挙動
=begin
私も試してみましたが、確かにMutexはDummyMutexと比べて2倍程度遅いようです。
しかし、次のコード
require 'benchmark'
require 'pstore'

pd = PStore.new("foo") #DummyMutex
pm = PStore.new("bar", true) #Mutex

pd.transaction { pd["hoge"] = 0 }
pm.transa...
Glass_saga (Masaki Matsushita)
08:22 PM Bug #4491 (Closed): Some methods of Dir/File do not encode dirname/filename transparently
=begin
My Ruby version is: ruby 1.9.2p180 (2011-02-18) [i386-mingw32]
My OS is Windows 7 (Simplified Chinese), its cmd.exe has a default codepage of CP936 (aka GBK), but I want my scripts to be written in UTF-8, so I've set the script...
yimutang (Joey Zhou)
04:54 PM Revision bd90dc80 (git): * process.c (proc_getmaxgroups, proc_setmaxgroups): Process#maxgroups
and Process#maxgroups= now raise NotImplementedError if the
platform don't support supplementary groups concept.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
04:26 PM Revision 2ff3ec5d (git): * 2011-03-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:26 PM Revision 4a8cf2d9 (git): * process.c (get_sc_ngroups_max): return -1 if platform don't
support NGROUPS_MAX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
03:53 PM Bug #4490 (Rejected): struct timespec declared without defining HAVE_STRUCT_TIMESPEC, clashes with pthreads.
pthreads wants to declare struct timespec again since HAVE_STRUCT_TIMESPEC is not defined. After adding the following to ./include/ruby-1.9.1/ruby/missing.h problem is solved.
#if !defined(HAVE_STRUCT_TIMESPEC)
+ #define HAVE_STRUC...
levsa (Levon Saldamli)
01:28 PM Revision d49f0d95 (git): * ext/openssl/ossl_ssl.h: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:07 PM Revision f1b2fb67 (git): * parse.y (parser_encode_length): add exception as UTF8-MAC for
magic comment's emacs newline specifier
patched by James M. Lawrence [ruby-core:35476] fixes #4489
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
10:31 AM Bug #4455: rubygem's test fails when source directory and build directory differ
=begin
You can't fix this?
=end
naruse (Yui NARUSE)
08:24 AM Bug #4488 (Third Party's Issue): Segmentation fault when calling new (or in rspec)
=begin
def Session.instance(*args, &block)
@__instance__ ||= new(*args, &block) # this line seems to trigger a segfault
end
when called from:
it "should fail on an invalid application key" do
expect { Hal...
levsa (Levon Saldamli)
08:07 AM Revision eb778a7b (git): * parse.y (parser_encode_length): fix typo: the length of
"-dos" and "-mac" is not 5 but 4.
patched by James M. Lawrence [ruby-core:35476] fixes #4489
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:25 AM Bug #4487 (Closed): require_relative fails in an eval'ed file
=begin
Hello all.

$cat eval_me1.rb
eval(File.read('eval_me2.rb'), binding, File.expand_path('./eval_me2.rb'))
$cat eval_me2.rb
require_relative 'eval_me1.rb'
$ ruby eval_me1.rb
C:/dev/ruby/faster_require/spec/eval_me2.rb:...
rogerdpack (Roger Pack)
02:15 AM Revision 2fc47aa0 (git): Fix wrong (and duplicated) test name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:55 AM Revision a9a0b5df (git): * test/ruby/test_require.rb: setting too long string to ENV causes
Errno::EINVAL on Windows. long path name errors may causes over
about 1024 bytes, then limit it about 4000 bytes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:35 AM Revision 9e53a0b1 (git): * lib/test/unit.rb (Test::Unit::Runner::Worker#read): fix for the case
when IO#read or IO#gets returns nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)

03/09/2011

10:32 PM Revision 6e5f4977 (git): Import rubygems 1.6.2 (release candidate @ 2026fbb5)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
06:01 PM Revision 08c07a21 (git): * ext/openssl/ossl_ssl.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:48 PM Bug #4413: Segmentation fault when using deliver for GMAIL SMTP
=begin
Shane Vaughn wrote:
> Mikael - Did you see the last note on issue 4373? It recommends setting :enable_starttls_auto => true to false. I was getting the same seg fault issue with SMTP and it is now resolved with the the change.
Th...
mhenrixon (Mikael Henriksson)
11:06 AM Bug #4413: Segmentation fault when using deliver for GMAIL SMTP
=begin
Mikael - Did you see the last note on issue 4373? It recommends setting :enable_starttls_auto => true to false. I was getting the same seg fault issue with SMTP and it is now resolved with the the change.
=end
shanevaughn (Shane Vaughn)
03:03 PM Revision af1460d6 (git): * 2011-03-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:03 PM Revision 292d9610 (git): * test/ruby/test_io_m17n.rb (test_io_new_enc): "sjis" is now an alias
of Windows-31J.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:07 PM Revision 6afaff75 (git): * .gitignore: ignore exts.mk
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
02:06 PM Revision 862048e2 (git): * misc/ruby-mode.el (ruby-parse-partial): fix indent after aref.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:58 PM Feature #4280 (Closed): SJIS should be an alias of Windows-31J, not of Shift_JIS
=begin
This issue was solved with changeset r31074.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
10:15 AM Bug #4485 (Closed): Gem.bin_path('rake') does not return the path of the system-installed rake
=begin
Please see subject. You can see this evident in rubygems-test version 0.3.8 and lower, where bin_path is used to retrieve the rake path. In systems where a suffix is appended to the ruby version (e.g., ruby19/rake19/gem19), you w...
erikh (Erik Hollensbe)
07:05 AM Bug #4484 (Rejected): Class variables leak to Object when using class_eval
=begin
The following irb session describes the problem:
>> String.class_eval { @@string_class_variable = 'should be only in String' }
=> "should be only in String"
>> "WTF?" if Object.class_variables.include? "@@string_class_var...
pawel (Paweł P)
04:15 AM Bug #4410: Install fails with missing readline.so in fileutils.rb
=begin
Similar issue on squeeze, to reproduce simply:
./configure --prefix /opt
make
checkinstall -D make install
Error output:
Installing with make install...

========================= Installation results ====================...
eLod (Tamas Pozsonyi)
03:51 AM Revision 4df71924 (git): * ext/psych/lib/psych/visitors/yaml_tree.rb: Rescue exceptions when
people implement the method method. Thanks Lin Jen-Shin.
[ruby-core:35255]
* test/psych/visitors/test_yaml_tree.rb: test for implementation of
method method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31075 b2dd03c8-39d4-4d8...
tenderlovemaking (Aaron Patterson)
03:42 AM Feature #1047: request: getters, setters for the GC
=begin
I think the desired goal is a "user configurable" GC, whatever that may mean finally (I'm ok with direct internals).
Cheers!
-r
=end
rogerdpack (Roger Pack)
02:59 AM Revision 095b2794 (git): [ruby-dev:43027] fixes #4280
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:54 AM Revision 89c0d70e (git): * enc/shift_jis.c: Change SJIS as an alias of Windows-31J.
* enc/shift_jis.c: Add PCK as an alias of Windows-31J.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)

03/08/2011

11:00 PM Feature #4468: String() should call to_str before to_s
=begin
お返事ありがとうございます。
では変更してしまおうと思います。
=end
nagachika (Tomoyuki Chikanaga)
10:23 PM Bug #4474: 複数のスレッドからトランザクションに入ろうとした場合のPStoreの挙動
=begin
遠藤です。

2011年3月7日9:47 Masaki Matsushita <redmine@ruby-lang.org>:
> sora_hさんが書いたパッチと異なる点は、トランザクションに入っているスレッドがあるかどうかを格納しているインスタンス変数@transactionを廃して、
> Mutexがロックされているかどうかでトランザクションに入っているスレッドがあるかどうかを判定している点です。
> また、第2引数thread...
mame (Yusuke Endoh)
10:23 PM Bug #4474: 複数のスレッドからトランザクションに入ろうとした場合のPStoreの挙動
=begin
遠藤です。

2011年3月7日9:47 Masaki Matsushita <redmine@ruby-lang.org>:
> sora_hさんが書いたパッチと異なる点は、トランザクションに入っているスレッドがあるかどうかを格納しているインスタンス変数@transactionを廃して、
> Mutexがロックされているかどうかでトランザクションに入っているスレッドがあるかどうかを判定している点です。
> また、第2引数thread...
mame (Yusuke Endoh)
04:11 PM Feature #4483: PStoreをデフォルトで複数のスレッドから扱えるようにしたい
=begin
sora_hです
考えてみればどうせblockされるわけで必ずブロック内は実行されるわけで、nested transactionはもしダメなら諦める的な感じで捕捉されることを想定しているコードなら
この仕様でも良いかもしれません。transactionが起きているかどうかのコードはin_transactionで調べるべきだと思いますしね。
とりあえず周りの反応次第ですが。その辺の問題が解決できたら入れても良いかもしれないです。
というこ...
sorah (Sorah Fukumori)
04:01 PM Feature #4483: PStoreをデフォルトで複数のスレッドから扱えるようにしたい
=begin
PStoreはRubyのオブジェクトを外部ファイルに格納する為のクラスな訳ですから、あるスレッドがトランザクションを実行中に別のスレッドがトランザクションに入ろうとした場合に、整合性を保つ為に同期する理由はあっても、例外を投げる理由はないのではと考えました。
そこで第2引数を削除したパッチを添付したのですが、確かにいきなり第2引数をなくしてしまうというのはやりすぎだったかも知れません。
それと、私が嬉しいかどうかをこういう場で引き合いに出したのは正...
Glass_saga (Masaki Matsushita)
03:23 PM Feature #4483: PStoreをデフォルトで複数のスレッドから扱えるようにしたい
=begin
Shyouhei Urabe wrote:
> デフォルトがブロックするかしないかどっち向きに倒れておくべきかには議論のある所だとは思いますが、いきなり第二引数をなくしてしまうというのはやりすぎではないでしょうか。あなたの嬉しさは他者を排斥する理由としては弱いです。
あまりパッチみてませんけどそれもありましたね。同意します。
せめてthread_safe = trueにしておいて、今の動作と逆転するような感じだと良いですかね?
無視する...
sorah (Sorah Fukumori)
02:59 PM Feature #4483: PStoreをデフォルトで複数のスレッドから扱えるようにしたい
=begin
デフォルトがブロックするかしないかどっち向きに倒れておくべきかには議論のある所だとは思いますが、いきなり第二引数をなくしてしまうというのはやりすぎではないでしょうか。あなたの嬉しさは他者を排斥する理由としては弱いです。
=end
shyouhei (Shyouhei Urabe)
02:47 PM Feature #4483: PStoreをデフォルトで複数のスレッドから扱えるようにしたい
=begin
互換性の面が懸念されます。
たとえばnested transaction例外を想定しているコード (たとえばtest_thread_safeとか) はどうなるのでしょう。
=end
sorah (Sorah Fukumori)
02:36 PM Feature #4483 (Rejected): PStoreをデフォルトで複数のスレッドから扱えるようにしたい
=begin
PStoreは、デフォルトでは他のスレッドがトランザクションを実行中にトランザクションに入ろうとすると例外nested transactionを発生させます。
initialize時に第2引数が真であれば、別のスレッドがトランザクションから抜けるまで待つようになりますが、
PStoreの用途から考えると、わざわざ引数にそのような指定をしなくても例外を投げずに待ってくれた方が嬉しいと思うのですが、いかがでしょうか。
PStore.newの第2...
Glass_saga (Masaki Matsushita)
03:45 PM Revision d9e5dd3b (git): * ext/extmk.rb: nmake substitutes all occurences in macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:15 PM Revision c74a962a (git): * ext/extmk.rb: workaround for nmake.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:52 PM Revision 77615624 (git): * process.c (proc_setgroups): cleanup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
02:40 PM Revision 1f9ee467 (git): * test/misc/test_ruby_mode.rb: test for ruby-mode.el.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:40 PM Revision 6917c26a (git): * process.c (get_sc_ngroups_max): fix indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:29 PM Revision d558bb59 (git): * process.c (get_sc_ngroups_max): try to use NGROUPS_MAX at first if
_SC_NGROUP_MAX is not defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
02:12 PM Revision 9652eae6 (git): * misc/ruby-electric.el: remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:10 PM Revision 6b0dc7fd (git): * misc/ruby-mode.el (ruby-parse-partial): fix for array in block.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:45 PM Revision a190741d (git): * ext/openssl/ossl_rand.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:23 AM Bug #4418: OpenSSL::PKey::DH#public_key
=begin
Hi Ippei,
I see your point now. There is some confusion if we look
at the EC key agreement interface. There, EC#dh_compute_key
takes what is returned by EC#public_key as a parameter,
which could be assumed the natural equiv...
MartinBosslet (Martin Bosslet)
07:52 AM Revision 45f59656 (git): * hash.c (ruby_setenv): MSDN says that Windows XP or earlier limits
the total size of environment block to 5,120 chars. and on such
OS, putenv() causes SEGV. So, ruby should limit the size of an
environment variable to 5,120 bytes for workaround.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
U.Nakamura
07:39 AM Bug #4482 (Closed): ext/date/date_core.c has no documentation
=begin
ext/date/date_core.c has no documentation for the methods it implements. We should not expect users to read the C code to figure out what each of the methods do.
=end
tenderlovemaking (Aaron Patterson)
06:59 AM Revision d504a245 (git): * test/rubygems/test_gem_spec_fetcher.rb
(TestGemSpecFetcher#test_cache_dir_escapes_windows_paths): cache_dir
may have driveletter and `:' for base of cache_dir itself, so need
to skip it for checking.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31062 b2dd03c8-39d4-...
U.Nakamura
06:35 AM Bug #4479 (Third Party's Issue): Psych fails to parse timestamps which is parsable by Syck
=begin
This is due to ambiguities in the YAML spec and is expressly not supported by libyaml.
Please see the discussion here:
http://sourceforge.net/mailarchive/forum.php?thread_name=AANLkTi%3DtRBNOo__zmn%3D%3D3hW_VhQQNG1WeD5E-1z...
tenderlovemaking (Aaron Patterson)
01:53 AM Bug #4479: Psych fails to parse timestamps which is parsable by Syck
=begin
libyaml version 0.1.3 (MacPorts)
=end
sakuro (Sakuro OZAWA)
01:46 AM Bug #4479: Psych fails to parse timestamps which is parsable by Syck
=begin
Reformat...
$ irb -f -ryaml -rpsych --prompt simple
>> RUBY_DESCRIPTION
=> "ruby 1.9.3dev (2011-03-08 trunk 31054) [x86_64-darwin10.6.0]"
>> YAML::ENGINE.yamler = 'syck'
=> "syck"
>> YAML.load('{created_at: 2011-03-...
sakuro (Sakuro OZAWA)
01:45 AM Bug #4479 (Third Party's Issue): Psych fails to parse timestamps which is parsable by Syck
=begin
$ irb -f -ryaml -rpsych --prompt simple
>> RUBY_DESCRIPTION
=> "ruby 1.9.3dev (2011-03-08 trunk 31054) [x86_64-darwin10.6.0]"
> ...
=> "syck"
>> YAML.load('{created_at: 2011-03-04T15:58:25Z}')
=> {"created_at"=>2011-03-04 15...
sakuro (Sakuro OZAWA)
06:28 AM Bug #4383 (Third Party's Issue): psych fails to parse a symbol in a flow sequence
=begin
I'm closing this as a third party issue. The problem stems from ambiguities in the YAML spec with regard to JSON and YAML support. This exception was added on purpose in libyaml. Please read the discussion on the libyaml mailin...
tenderlovemaking (Aaron Patterson)
04:18 AM Bug #4413: Segmentation fault when using deliver for GMAIL SMTP
=begin
Any additional information I can provide to help someone fix this?
=end
mhenrixon (Mikael Henriksson)
03:30 AM Revision 85df40e9 (git): * misc/ruby-mode.el (ruby-deep-indent-paren-p, ruby-calculate-indent):
do not apply deep-indent inside parens at the beginning of
expressions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:56 AM Feature #4481 (Closed): Add client_ca method to OpenSSL::SSLSocket
=begin
Please add "client_ca" method to OpenSSL::SSLSocket to solve the following problem.
Problem:
If a SSL server decide to authenticate clients using client-certificates,
the server can send the list of client CAs to a client as...
ohai (Ippei Obayashi)
02:26 AM Bug #4480 (Closed): Thread-local variables issue: Thread#[] returns nil when called first time
=begin
In ruby 1.9.2p180
t = Thread.new do
Thread.current[:var] = "var"
Thread.stop
end

p t[:var] #=> nil
p t[:var] #=> "var"
In ruby 1.8.7
p t[:var] #=> "var"
p t[:var] #=> "var"
=end
dre3k (Andrei Kulakov)
01:41 AM Revision bc650f27 (git): fix typos and remove trailing spaces
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:33 AM Revision acd036bc (git): * common.mk (configure-ext, build-ext), ext/extmk.rb (extmake):
support paralell-make under ext.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:25 AM Revision 15f0e53a (git): * process.c (proc_setgroups): use getgrnam() if getgrnam_r() is
not available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:08 AM Revision 487185de (git): * process.c: RARRAY_LEN() returns long int.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:07 AM Revision 108eb9c6 (git): * configure.in (RUBY_REPLACE_TYPE): enclose in quotes for multiple
type names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

03/07/2011

11:35 PM Bug #4478: hash order preservation fails on 64bit machine
=begin
~$ ruby1.9 -v
ruby 1.9.0 (2006-06-08) [x86_64-linux]
=end
JWuttke (Joachim Wuttke)
09:19 PM Bug #4478 (Feedback): hash order preservation fails on 64bit machine
=begin
I can't reproduce this.
Can you show ruby -v ?
=end
naruse (Yui NARUSE)
06:07 PM Bug #4478 (Rejected): hash order preservation fails on 64bit machine
=begin
On a 32bit machine:
~$ uname -r
2.6.32-5-686
~$ ruby1.9 -e "x={};x[:a]=1;x[:b]=2;p x"
{:a=>1, :b=>2} # as it should
On a 64bit machine:
~$ uname -r
2.6.24-etchnhalf.1-amd64
~$ ruby1.9 -e "x={};x[:a]=1;x[:b]=2;p x"
{:...
JWuttke (Joachim Wuttke)
11:08 PM Bug #4474 (Closed): 複数のスレッドからトランザクションに入ろうとした場合のPStoreの挙動
=begin
r31050にてlib/pstore.rbはGlass_sagaさんのパッチ、test/test_pstore.rbは自分のパッチを適用しコミットしました。
Closeします。報告ありがとうございました。
=end
sorah (Sorah Fukumori)
09:50 AM Bug #4474: 複数のスレッドからトランザクションに入ろうとした場合のPStoreの挙動
=begin
ふむ。
異議がなければ@transactionを消したほうのパッチをマージしたいと思いますが、どうでしょう。
=end
sorah (Sorah Fukumori)
09:47 AM Bug #4474: 複数のスレッドからトランザクションに入ろうとした場合のPStoreの挙動
=begin
僕もパッチを書いてみましたので添付します。
sora_hさんが書いたパッチと異なる点は、トランザクションに入っているスレッドがあるかどうかを格納しているインスタンス変数@transactionを廃して、
Mutexがロックされているかどうかでトランザクションに入っているスレッドがあるかどうかを判定している点です。
また、第2引数thread_safeの真偽に関わらずトランザクション内の処理をMutexで同期しますが、互換性の為、thread_safe...
Glass_saga (Masaki Matsushita)
10:23 PM Feature #4477: Kernel:exec and backtick (`) don't work for certain system commands
=begin
2011/3/7 Shota Fukumori <sorah@tubusu.net>:
>
> Issue #4477 has been updated by Shota Fukumori.
>
> I don't think this is Bug because that (Shebang less executing) is you shell's feature. not system's feature.

No. it...
kosaki (Motohiro KOSAKI)
09:21 PM Feature #4477: Kernel:exec and backtick (`) don't work for certain system commands
=begin
I don't think this is Bug because that (Shebang less executing) is you shell's feature. not system's feature.
So this ticket should be Feature request.
=end
sorah (Sorah Fukumori)
07:40 PM Feature #4477: Kernel:exec and backtick (`) don't work for certain system commands
=begin
Sorry, Shota, I do not understand why you recategorized this issue as a Feature.
The current behaviour of `<cmd>` contradicts what the documentation says, and it offends common sense. In my understanding, this is clearly a Bug....
JWuttke (Joachim Wuttke)
06:53 PM Feature #4477: Kernel:exec and backtick (`) don't work for certain system commands
=begin
=end
sorah (Sorah Fukumori)
05:55 PM Feature #4477 (Closed): Kernel:exec and backtick (`) don't work for certain system commands
From documentation and common sense, I would expect that Kernel:exec and backtick (`) work for _all_ kind of system commands. This is currently not the case.
~$ cat test1
echo success
~$ cat test2
#!/bin/sh
echo success
~$ chmod ...
JWuttke (Joachim Wuttke)
08:23 PM Feature #3436: Spawn the timer thread lazily
=begin
I apologise in advance if this is a duplicate message. I previously
posted this on redmine.ruby-lang.org, but immediately received mail
delivery errors regarding it. I simply don't have time to investigate
that.

It was...
Spakman (Mark Somerville)
07:26 PM Feature #3436: Spawn the timer thread lazily
=begin
Koichi has proposed a potential solution to this problem in a ruby-core thread[1].
It would be *great* to get some more testing and feedback on this, since it seems to be a problem for a number of users.
[1] - http://blade.n...
Spakman (Mark Somerville)
07:23 PM Bug #3919: Ruby in PowerTOP - too many CPU wakeups
=begin
On Fri, Oct 08, 2010 at 03:28:26PM +0900, Suraj Kurapati wrote:
> Bug #3919: Ruby in PowerTOP - too many CPU wakeups
> http://redmine.ruby-lang.org/issues/show/3919
>

<snip>

> Please make Ruby more power-efficient...
Spakman (Mark Somerville)
05:50 PM Bug #4476 (Assigned): [PATCH] URI('http://hoge/b/').route_to('http://hoge/b') wrongly returns './'
=begin
=end
knu (Akinori MUSHA)
05:49 PM Bug #4476 (Closed): [PATCH] URI('http://hoge/b/').route_to('http://hoge/b') wrongly returns './'
=begin
When it should be '../b'.
I revamped URI::Generic#route_from_path so that (trailing) slashes are properly and explicitly handled.
Please review the attached patch.
=end
knu (Akinori MUSHA)
04:44 PM Revision c57118f7 (git): * process.c (get_sc_ngroups_max): define to wrap sysconf(3).
this also supports Windows which doesn't have sysconf(3).
* process.c (maxgroups): use get_sc_ngroups_max.
* process.c (proc_setmaxgroups): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31055 b2dd03c8-39d4-4d8f-98ff-823fe69...
naruse (Yui NARUSE)
04:17 PM Revision 436d5dc6 (git): * gc.c (rb_objspace): an initializer must be a constant.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:13 PM Revision fe8e2dd1 (git): * process.c (maxgroups): cast because sysconf(3)'s return value is long.
* process.c (proc_setmaxgroups): ditto.
* process.c (proc_setgroups): cast because RARRAY_LEN() is long.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:03 PM Revision 30c06ec6 (git): * 2011-03-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:03 PM Revision 37e159f5 (git): * ext/openssl/ossl_pkey_rsa.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:03 PM Revision e267617f (git): * lib/pstore.rb: Delete variable @transaction and fix #4474. Patch by
Masaki Matsushita (Glass_saga).
* test/test_pstore.rb(test_thread_safe): Add test for #4474.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
sorah (Sorah Fukumori)
01:23 PM Feature #1047: request: getters, setters for the GC
=begin
Hi,

2011/3/7 Yukihiro Matsumoto <matz@ruby-lang.org>:
> Hi,
>
> Well then, how do you think we can accomplish this performance
> improving without depending too much on MRI internals.
>
> I myself think configura...
authorNari (Narihiro Nakamura)
12:23 PM Feature #1047: request: getters, setters for the GC
=begin
Hi,

Well then, how do you think we can accomplish this performance
improving without depending too much on MRI internals.

I myself think configuration via environment variables or command line
options can rely on in...
matz (Yukihiro Matsumoto)
11:11 AM Feature #1047: request: getters, setters for the GC
=begin
Hi.
I think this patch depend too much on inside implementation of MRI.
So, I can't agree this patch...
Thanks.
=end
authorNari (Narihiro Nakamura)
12:54 PM Revision 52b40be0 (git): small cleanup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
12:35 PM Revision 19a127d0 (git): * process.c (proc_setgroups): replace getgrnam() with getgrnam_r()
because getgrnam() isn't thread safe.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
11:58 AM Revision 1a8ee910 (git): * process.c (proc_getmaxgroups, proc_setmaxgroups): refrect
platform maxgroups limitation by default instead hardcoded 65536.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
08:44 AM Revision 1df42597 (git): cancel subversion backfire. sorry
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matz (Yukihiro Matsumoto)
08:39 AM Revision fc634cc0 (git): * 2011-03-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:39 AM Revision eb807d42 (git): * gc.c (rb_gc_set_params): allow GC parameter configuration by
environment variables. based on a patch from funny-falcon at
https://gist.github.com/856296, but honors safe level.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
05:15 AM Revision c414d861 (git): * test/testunit/test_parallel.rb
(test_should_run_all_without_any_leaks): accomplish r31023.
[ruby-dev:43300] [Bug #4466]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
12:06 AM Revision 7b3c2c28 (git): * process.c: NUM2RLIM is defined but no getrlimit and setrlimit on
mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:05 AM Revision 489e05fc (git): * string.c (tr_trans): suppress signedness/unsignedness warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

03/06/2011

11:39 PM Revision bb9a0552 (git): * ext/date/date_core.c (DateTimeData): should not use bare 'long long'
and 'long double', which are not defined by C89.
* ext/date/date_core.c (dt_lite_plus): get rid of overflow at casting
down double to integer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:38 PM Revision 35c9d383 (git): fix of ext/date/date_core.
* ext/date/date_core.c (DateTimeData): should not use bare 'long long'
and 'long double', which are not defined by C89.
* ext/date/date_core.c (dt_lite_plus): get rid of overflow at casting
down double to integer.
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
10:58 PM Bug #4463 (Closed): [PATCH] release GVL for fcntl() for operations that may block
=begin
=end
kosaki (Motohiro KOSAKI)
10:55 PM Bug #4474: 複数のスレッドからトランザクションに入ろうとした場合のPStoreの挙動
=begin
sora_hです。
一応これをバグを見て、nested transaction例外を発生しないようにする変更とテストを追加するパッチを
書いてみました。どうでしょうか。 (添付します)
また、サンプルコードは例外が発生しないときいつまでも終わらないため、すこし手を加えました。
一応パッチをあてると !thread_safe なときには例外が発生し、test_pstoreもpassします。
require 'pstore'

...
sorah (Sorah Fukumori)
10:23 PM Bug #4474: 複数のスレッドからトランザクションに入ろうとした場合のPStoreの挙動
=begin
sora_hです。

rdocはこうなっていますが...

> # PStore objects are always reentrant. But if _thread_safe_ is set to true,
> # then it will become thread-safe at the cost of a minor performance hit.

スレッドセーフになるとどうなるのかという仕様が良くわから...
sorah (Sorah Fukumori)
10:23 PM Bug #4474: 複数のスレッドからトランザクションに入ろうとした場合のPStoreの挙動
=begin
sora_hです。

rdocはこうなっていますが...

> # PStore objects are always reentrant. But if _thread_safe_ is set to true,
> # then it will become thread-safe at the cost of a minor performance hit.

スレッドセーフになるとどうなるのかという仕様が良くわから...
sorah (Sorah Fukumori)
09:54 PM Bug #4474 (Closed): 複数のスレッドからトランザクションに入ろうとした場合のPStoreの挙動
=begin
PStoreは、initializeの第2引数thread_safeが真であればデータベースの読み書きをMutexで同期するようになっています。
しかし、次のコード
require 'pstore'
require 'thread'
pstore = PStore.new("foo", true)
q = Queue.new
Thread.start do
pstore.transaction do
pstore[:...
Glass_saga (Masaki Matsushita)
10:48 PM Feature #4475 (Closed): default variable name for parameter
=begin
There is a very common pattern in Ruby:
object.method do |variable_name|
variable_name doing something
end
Many times in fact the name of the object is so self explanatory that we don't care about the name of the...
jordi (jordi polo)
09:51 PM Bug #4471 (Closed): sample list.rb generates warnings
=begin
Good catch! this is fixed by r31032.
Thank you!
=end
kosaki (Motohiro KOSAKI)
11:05 AM Bug #4471 (Closed): sample list.rb generates warnings
=begin
Running the file sample/list.rb using ruby -W2 generates warnings. I think sample code should not generate warnings, because samples should be examples of good code, not examples of bad code.
I don't mind if it's fixed by impro...
agrimm (Andrew Grimm)
06:08 PM Feature #1047: request: getters, setters for the GC
=begin
Sorry for double post :(
=end
funny_falcon (Yura Sokolov)
06:07 PM Feature #1047: request: getters, setters for the GC
=begin
I adapt `1047.patch` to be applied after `patch-1.9.2-gc.patch` .
Changes:
* renamed `GC.heap_slots` and `GC.heap_slots=` to `GC.heap_min_slots` and `GC.heap_min_slots=`
* add `GC.free_min` and `GC.free_min=`
=end
funny_falcon (Yura Sokolov)
04:38 PM Feature #1047: request: getters, setters for the GC
=begin
May be we could accept method from railsbench - setting such variables from environment?
It is up to system administrator running ruby server to set them to adequate value.
This approach works well for REE.
Attached patch a...
funny_falcon (Yura Sokolov)
04:40 PM Bug #4473: Calling return within begin still executes else
=begin
The code didn't paste so well so I'm attaching the source code
=end
thuss (Todd Huss)
04:37 PM Bug #4473 (Closed): Calling return within begin still executes else
=begin
I see this issue in 1.9.2-p0 through the current version 1.9.2-p136 on Mac OS X. The following code prints 'else executed'. Whereas in Ruby 1.8.x it would not execute the else statement if you called return from within a begin bl...
thuss (Todd Huss)
03:26 PM Revision 29246c34 (git): * 2011-03-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:25 PM Revision c6bb8beb (git): * process.c (proc_getgroups): get rid of maxgroups dependency.
ngroups can be calculated dynamically.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
02:47 PM Revision b1329e3b (git): * configure.in: rlim_t use standard RUBY_REPLACE_TYPE mechanism.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
02:28 PM Revision beed9717 (git): * process.c (proc_setmaxgroups): added negative value check.
This was suggested by Daniel Berger. Thanks Daniel!
[ruby-core:35426][Bug#4467]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
02:21 PM Revision aca674c2 (git): * process.c (maxgroups, proc_setmaxgroups): increase max groups
limitation up to 65536.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
01:21 PM Revision dd9f5e87 (git): * ext/openssl/ossl_pkey_ec.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:51 PM Revision 97f07f09 (git): * sample/list.rb (MyElem#initialize): initialize @head
explicitely. Otherwise -W2 option makes following warning.
"warning: instance variable @head not initialized".
This issue was founded by Andrew Grimm. Thanks Andrew!
[ruby-core:35435][Bug#4471]
git-svn-id: svn+ssh://ci.ruby-lang...
kosaki (Motohiro KOSAKI)
11:46 AM Bug #4472 (Third Party's Issue): mongrel on Windows XP
OUTPUT FROM COMMAND.COM DOS BOX
C:\Ruby>mongrel_rails start -d
C:/Ruby/lib/ruby/gems/1.9.1/gems/mongrel-1.1.5-x86-mingw32/lib/http11.so: [BUG] Segmentation fault
ruby 1.9.2p0 (2010-08-18) [i386-mingw32]
-- control frame --------...
arifb (Arif Burhan)
09:23 AM Feature #4468: String() should call to_str before to_s
=begin
まつもと ゆきひろです

まあここだけ違っているメリットもさほどないようですから、変更
しても良いのではないでしょうか。

In message "Re: [ruby-dev:43306] [Ruby 1.9 - Feature #4468][Open] String() should call to_str before to_s"
on Sat, 5 Mar 2011 21:43:18 +0900, Tomoyuki ...
matz (Yukihiro Matsumoto)
09:23 AM Feature #4468: String() should call to_str before to_s
=begin
まつもと ゆきひろです

まあここだけ違っているメリットもさほどないようですから、変更
しても良いのではないでしょうか。

In message "Re: [ruby-dev:43306] [Ruby 1.9 - Feature #4468][Open] String() should call to_str before to_s"
on Sat, 5 Mar 2011 21:43:18 +0900, Tomoyuki ...
matz (Yukihiro Matsumoto)
05:18 AM Feature #4468 (Assigned): String() should call to_str before to_s
=begin
=end
naruse (Yui NARUSE)
07:20 AM Bug #3150: net/https peer verification doesn't do anything
=begin
http://www.afp548.com/article.php?story=20091007164413755 (Thanks for finding this, Eric: https://twitter.com/#!/drbrain/status/43788281007194112)
Apple looks to ship customized OpenSSL which integrates trusted root certificates ...
nahi (Hiroshi Nakamura)
05:26 AM Bug #4453 (Assigned): Overriding #to_s changes #inspect
=begin
=end
naruse (Yui NARUSE)
05:25 AM Bug #4469 (Closed): Documentation code examples contain camelCase method names
=begin
=end
naruse (Yui NARUSE)

03/05/2011

10:05 PM Feature #4468: String() should call to_str before to_s
=begin
パッチを貼り忘れていました。このようになるかと思います。
diff --git a/object.c b/object.c
index b25c0af..fad726c 100644
--- a/object.c
+++ b/object.c
@@ -2360,7 +2360,10 @@ rb_num2dbl(VALUE val)
VALUE
rb_String(VALUE val)
{
- return...
nagachika (Tomoyuki Chikanaga)
09:43 PM Feature #4468 (Closed): String() should call to_str before to_s
=begin
Integer() と Array() というカーネルメソッドはまず to_int/to_ary という
「暗黙の変換」のためのメソッドを呼び、それが失敗すると to_i/to_a を
呼んで変換するという仕様になっています。
しかし String() は最初から to_s を呼ぶようになっています。
統一感という意味ではまず to_str -> to_s の順に呼ぶことにしたほうが
良いのではないでしょうか。
to_str と to_s ...
nagachika (Tomoyuki Chikanaga)
09:53 PM Bug #4469 (Closed): Documentation code examples contain camelCase method names
=begin
Some code examples in documentation contain (({camelCase})) method names, rather than (({snake_case})).
The documentation should use (({snake_case})) so that new Rubyists know the conventional style.
A patch fixing the issue...
agrimm (Andrew Grimm)
08:25 PM Revision 18f4f088 (git): * class.c: fix camelCase to snake_case in documentation code examples.
patched by Andrew Grimm. fixes Bug #4469
* marshal.c: ditto.
* proc.c: ditto.
* sample/biorhythm.rb: ditto.
* vm_eval.c: ditto.
* vm_method.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31031 b2dd03c8-39d4-4d8f-98ff-8...
naruse (Yui NARUSE)
07:23 PM Bug #4463: [PATCH] release GVL for fcntl() for operations that may block
=begin
KOSAKI Motohiro <kosaki.motohiro@gmail.com> wrote:
> Umm..
> I don't like its interface so much. your flock object don't mange any lock
> state. it's merely wrapper of argument of fcntl. your interface mean we need
> two ...
normalperson (Eric Wong)
06:23 PM Bug #4463: [PATCH] release GVL for fcntl() for operations that may block
=begin
Hi

>> I've commited slightly modified version today (r31025).
>> The difference is,
>>
>> 1) All IO.fcntl() and IO.iocntl() relese GVL instead only SETLCKW. because,
>>     A) if a user are using network filesystem, almo...
kosaki (Motohiro KOSAKI)
02:24 AM Bug #4463: [PATCH] release GVL for fcntl() for operations that may block
=begin
KOSAKI Motohiro <kosaki.motohiro@gmail.com> wrote:
> Hi
>
> I've commited slightly modified version today (r31025).
> The difference is,
>
> 1) All IO.fcntl() and IO.iocntl() relese GVL instead only SETLCKW. because...
normalperson (Eric Wong)
02:24 AM Bug #4463: [PATCH] release GVL for fcntl() for operations that may block
=begin
Hi

2011/3/3 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:
>> Issue #4463 has been reported by Eric Wong.
>>
>> ----------------------------------------
>> Bug #4463: [PATCH] release GVL for fcntl() for operations that...
kosaki (Motohiro KOSAKI)
06:23 PM Revision 7f1362a8 (git): * 2011-03-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:23 PM Revision b2a8d109 (git): * io.c (io_cntl): use rb_thread_io_blocking_region() instead
rb_thread_blocking_region().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
01:59 PM Revision eaf08203 (git): * include/ruby/intern.h: fix a typo of prototype declaration.
rb_mutex_try_lock -> rb_mutex_trylock [ruby-dev:43213]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
10:45 AM Revision a474b0e3 (git): * test/ruby/test_io.rb (TestIO#test_fcntl_lock): small clean up.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
12:45 AM Bug #4465 (Closed): [PATCH] configure.in: fix warnflags being empty
=begin
My fault. It is fixed by r31022.
=end
kosaki (Motohiro KOSAKI)

03/04/2011

11:37 PM Bug #4466 (Closed): test_should_run_all_without_any_leaks somtimes fails
=begin
It seems fixed at r31023 (committed by nagachika).
Closing.
=end
sorah (Sorah Fukumori)
02:57 PM Bug #4466 (Assigned): test_should_run_all_without_any_leaks somtimes fails
=begin
sora_hです。
なるほど。それコミットしてしまって良いです。
パッチを感謝します。 :)
--sora_h
=end
sorah (Sorah Fukumori)
02:28 PM Bug #4466 (Closed): test_should_run_all_without_any_leaks somtimes fails
=begin
Linux 上で test/testunit/test_parallel.rb が時々以下の Failure になります。
3) Failure:
test_should_run_all_without_any_leaks(TestParallel::TestParallel) [/opt/ruby-trunk/src/ruby-trunk/test/testunit/test_parallel.rb:156]:
Expected /^\....
nagachika (Tomoyuki Chikanaga)
04:38 PM Revision b110abbe (git): * 2011-03-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:38 PM Revision c0359f81 (git): * io.c (io_cntl, nogvl_io_cntl): IO.fcntl() and IO.ioctl()
release GVL during calling kernel interface.
Suggested by Eric Wong. [ruby-core:35417][Bug #4463]
* test/ruby/test_io.rb (TestIO#test_fcntl_lock): add new test for
IO.fcntl().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@310...
kosaki (Motohiro KOSAKI)
02:28 PM Revision 1d6bd86a (git): * .gitignore: ignore ext/date and ext/-test-/*/*.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
02:20 PM Revision 118a5bcf (git): * test/testunit/test_parallel.rb
(test_should_run_all_without_any_leaks): consider that the order of
testcase could change. [ruby-dev:43300] [Bug #4466]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:02 PM Revision ff077097 (git): * io.c (io_cntl): change 'cmd' type to int. ioctl and fcntl need to
be passed int.
* io.c (rb_io_ctl): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
12:16 PM Revision 62374161 (git): * configure.in: save warnflags. the patch is created by Eric Wong.
[Bug #4465]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
07:05 AM Feature #4464: [PATCH] add Fcntl::Flock object for easier use of POSIX file locks
=begin
updated patch to fix signedness warnings since I fixed warnflags with 4465
=end
normalperson (Eric Wong)
04:42 AM Feature #4464 (Assigned): [PATCH] add Fcntl::Flock object for easier use of POSIX file locks
=begin
This is a subclass of String so it is compatible with
IO#fcntl without needing to modify io.c for systems
that don't have POSIX file locks.
=end
normalperson (Eric Wong)
07:01 AM Bug #4465 (Closed): [PATCH] configure.in: fix warnflags being empty
=begin
Without this, all the warning flags were disabled on my system
=end
normalperson (Eric Wong)
12:23 AM Bug #4463: [PATCH] release GVL for fcntl() for operations that may block
=begin
> Issue #4463 has been reported by Eric Wong.
>
> ----------------------------------------
> Bug #4463: [PATCH] release GVL for fcntl() for operations that may block
> http://redmine.ruby-lang.org/issues/4463
>
> Auth...
kosaki (Motohiro KOSAKI)
 

Also available in: Atom