Project

General

Profile

Activity

From 02/17/2009 to 02/23/2009

02/23/2009

10:11 PM Revision 6836882a (git): * 2009-02-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:11 PM Revision 168aacde (git): * regex.c (re_compile_pattern): \s should include \v too.
a patch from Masahiro Tomita. [ruby-dev:38070]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
07:36 PM Feature #908: Should be an easy way of reading N characters from am I/O stream
=begin
2009/2/23 Michal Suchanek <hramrach@centrum.cz>:
> 2009/2/22 Michael Selig <michael.selig@fs.com.au>:
>> On Mon, 23 Feb 2009 03:00:41 +1100, Tanaka Akira <akr@fsij.org> wrote:
>>
>>> In article <6.0.0.20.2.20090220134502.0823...
hramrach (Michal Suchanek)
07:02 PM Feature #908: Should be an easy way of reading N characters from am I/O stream
=begin
2009/2/22 Michael Selig <michael.selig@fs.com.au>:
> On Mon, 23 Feb 2009 03:00:41 +1100, Tanaka Akira <akr@fsij.org> wrote:
>
>> In article <6.0.0.20.2.20090220134502.0823ee98@localhost>,
>>  Martin Duerst <duerst@it.aoyama.a...
hramrach (Michal Suchanek)
05:34 PM Feature #908: Should be an easy way of reading N characters from am I/O stream
=begin
At 01:00 09/02/23, Tanaka Akira wrote:
>In article <6.0.0.20.2.20090220134502.0823ee98@localhost>,
> Martin Duerst <duerst@it.aoyama.ac.jp> writes:

>> Can you give more specific explanations of why reading a number
>> of c...
duerst (Martin Dürst)
05:44 PM Revision c3e9fe6a (git): merge revision(s) 21432:
* lib/erb.rb (PercentScanner): remove PercentScanner. fixed % after
%> bug. [ruby-dev:37751] [Bug #997]
* test/erb/test_erb.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22583 b2dd03c8-39d4...
shyouhei (Shyouhei Urabe)
05:43 PM Revision 3435f0c1 (git): merge revision(s) 21432:
* lib/erb.rb (PercentScanner): remove PercentScanner. fixed % after
%> bug. [ruby-dev:37751] [Bug #997]
* test/erb/test_erb.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22581 b2dd03c8-39d4...
shyouhei (Shyouhei Urabe)
05:40 PM Revision f9593a4f (git): merge revision(s) 21423:
* hash.c (rb_hash_s_create): set nil as the value if assoc length
is not enough. [ruby-core:21249]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
05:23 PM Bug #1162: Build Assertion Failure with VC+++ - Incorrect flushing of stdout/stderr
=begin
Hi,

At Mon, 23 Feb 2009 12:44:32 +0900,
Charlie Savage wrote in [ruby-core:22345]:
> >It is a compile time flag and irrelevant to debug built msvcrt.
>
> Not sure what you mean. VC2008 (and earlier versions) set
> the -...
nobu (Nobuyoshi Nakada)
12:45 PM Bug #1162: Build Assertion Failure with VC+++ - Incorrect flushing of stdout/stderr
=begin
>It is a compile time flag and irrelevant to debug built msvcrt.

Not sure what you mean. VC2008 (and earlier versions) set the -RTC1 flag by default when creating debug builds of C/C++ projects. The -RTC1 flag causes the b...
cfis (Charlie Savage)
12:01 PM Bug #1162: Build Assertion Failure with VC+++ - Incorrect flushing of stdout/stderr
=begin
Hi,

At Mon, 16 Feb 2009 07:40:51 +0900,
Charlie Savage wrote in [ruby-core:22170]:
> The other problem with the patch is that it doesn't actually
> work. To test it I applied to locally. The assertion error
> does not go...
nobu (Nobuyoshi Nakada)
05:15 PM Revision 60e8b398 (git): * numeric.c (flo_eq): remove unnecessary NaN check using isnan().
comparison regarding NaN is false anyway.
* numeric.c (flo_gt, flo_ge, flo_lt, flo_le, flo_eql): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
04:57 PM Bug #1181: [BUG] thread_free: keeping_mutexes must be NULL
=begin
Hi,

In message "Re: [ruby-core:22292] Re: [Bug #1181] [BUG] thread_free: keeping_mutexes must be NULL"
on Fri, 20 Feb 2009 21:09:38 +0900, Yusuke ENDOH <mame@tsg.ne.jp> writes:

|The following patch should fix the issu...
matz (Yukihiro Matsumoto)
04:35 PM Bug #1181: [BUG] thread_free: keeping_mutexes must be NULL
=begin
I can confirm that your patch fixes the problem. Thanks for your quick help!

Chris
=end
orem (Chris Schlaeger)
04:24 PM Revision c43236ea (git): * bootstraptest/test_thread.rb: fix for environment where fork is not
available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
04:20 PM Revision c55dd9b7 (git): * thread.c (thread_cleanup_func): unlock all locked mutexes even when
forking. [ruby-core:22269]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
04:12 PM Revision 70191870 (git): * insns.def (opt_minus): inline float operation.
* insns.def (opt_lt, opt_gt): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
03:51 PM Revision 0b586758 (git): * math.c (Need_Float): call rb_to_float() only when it is really
needed. small performance improvement.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
03:46 PM Revision e69f2129 (git): * range.c (range_each): check #succ only when it is really
needed. small performance improvement.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
03:20 PM Revision 20f46281 (git): * 2009-02-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:20 PM Revision b47b9fbb (git): * lib/pathname.rb (Pathname#foreachline): removed wrongly
resurrected method. [ruby-dev:38065]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
11:41 AM Revision 605cd659 (git): * ext/socket/ancdata.c (inspect_timespec_as_abstime): new function to
show struct timespec.
(ancillary_inspect): use it for SCM_TIMESTAMPNS on GNU/Linux.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:32 AM Revision 23e286f3 (git): * ext/socket/ancdata.c (inspect_bintime_as_abstime): new function to
show struct bintime.
(ancillary_inspect): use it for SCM_BINTIME on FreeBSD.
* ext/socket/mkconstants.rb: define SCM_BINTIME.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:21 AM Revision a0e3e8e4 (git): * ext/socket/ancdata.c (inspect_timeval_as_abstime): use time_t
variable to avoid a warning on environments which use long as
tv_sec as NetBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
06:54 AM Revision 1a1990df (git): * array.c (rb_ary_index, rb_ary_rindex): We know that argc is not
zero when we reach here.
* array.c (rb_ary_initialize, rb_ary_index): Shrink a double
space. (NFC)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
05:47 AM Revision b080500c (git): * lib/fileutils.rb (mv): added description for the case of
different partitions. [ruby-talk:329072]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:47 AM Revision bcf6fd2c (git): * lib/fileutils.rb (mv): added description for the case of
different partitions. [ruby-talk:329072]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:45 AM Feature #1193 (Closed): Justified Error Messages
=begin
One nice thing about Test::Unit output is that failures are justified making string comparisons easier.

In Test::Unit

<"minitest/unit is a small and fast replacement for ruby's huge and slow test/unit."> expected but w...
bahuvrihi (Simon Chiang)
01:19 AM Revision 15700ff0 (git): * include/ruby/ruby.h (USE_SYMBOL_AS_METHOD_NAME): Module#methods,
#singleton_methods and so on return Symbols. [ruby-talk:328775]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:15 AM Revision 7e162b15 (git): * README.EXT, README.EXT.ja: added macros for the Compatibilities.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:14 AM Revision 02bfe1f6 (git): typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

02/22/2009

10:47 PM Bug #1192 (Closed): encoding problem with tr() and hash keys 1.9.1
=begin
Applied in changeset r22547.
=end
nobu (Nobuyoshi Nakada)
09:45 PM Bug #1192 (Open): encoding problem with tr() and hash keys 1.9.1
=begin
Hi,

The fix in r22525 seems to be incomplete:

$ ruby19 -ve 'p ["a".hash, "a".tr("a", "\u0101").tr("\u0101", "a").hash]'
ruby 1.9.2dev (2009-02-22 trunk 22527) [i686-linux]
[903321233, 903321232]

--
Yusuke EN...
mame (Yusuke Endoh)
07:27 PM Bug #1192 (Closed): encoding problem with tr() and hash keys 1.9.1
=begin
Applied in changeset r22525.
=end
nobu (Nobuyoshi Nakada)
06:33 PM Bug #1192 (Closed): encoding problem with tr() and hash keys 1.9.1
=begin
In utf-8 environment I do:

irb(main):121:0> h = {"a" => 1, "\u0101" => 2}
=> {"a"=>1, "ā"=>2}
irb(main):122:0> h.key? "a".tr("z", "\u0101")
=> false <--- wrong!
irb(main):123:0> h.key? "\u0101".tr("z", "\u0101")
=>...
do1 (Do One)
08:36 PM Bug #1177 (Feedback): eof for socket block script
=begin

=end
nobu (Nobuyoshi Nakada)
06:20 PM Revision 97ef9728 (git): * ext/socket/mkconstants.rb: define SO_TIMESTAMPNS and SCM_TIMESTAMPNS
if available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
06:14 PM Revision decee680 (git): add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:55 PM Revision b7fe0657 (git): * ext/socket/ancdata.c (ancillary_inspect): use SCM_TIMESTAMP instead
of SO_TIMESTAMP. SCM_TIMESTAMP != SO_TIMESTAMP on MacOS X.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
05:46 PM Revision 475a350d (git): * ext/socket/ancdata.c (inspect_timeval_as_abstime): new function.
(ancillary_inspect): use it for SO_TIMESTAMP.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
05:27 PM Revision 0c95958c (git): * ext/socket/option.c (inspect_timeval_as_interval): renamed from
inspect_timeval.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
05:10 PM Revision cdca4e19 (git): * ext/socket/option.c (inspect_timeval): fix the size test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:25 PM Revision e5dd6a79 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:22 PM Revision 5a980f59 (git): * 2009-02-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:22 PM Revision 2e0a20d3 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:38 PM Revision a384273d (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:26 PM Revision 83930529 (git): stripped trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:23 PM Revision 12d2c8ba (git): stripped trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:05 PM Revision 41031667 (git): merges r22494 and r22495 from trunk into ruby_1_9_1.
* vm_eval.c (method_missing): should not pop cfp if missing method
is method_missing. [ruby-core:22298]
* vm_eval.c (rb_raise_method_missing): new function to directly
raise NoMethodError.
* vm_insnhelper.c (vm_call_method): fixed...
yugui (Yuki Sonoda)
02:05 PM Revision 5fd244b4 (git): merges r22471 from trunk into ruby_1_9_1.
* util.c (rv_alloc, freedtoa): use our normal xmalloc()/xfree() because
couldn't free the returned pointer from ruby_dtoa().
* missing/vsnprintf.c (cvt): receive buffer and use/return it instead
of returning ...
yugui (Yuki Sonoda)
02:05 PM Revision 82d36b59 (git): merges r22440 from trunk into ruby_1_9_1.
* ext/openssl/ossl_ocsp.c (ossl_ocspbres_verify): OCSP_basic_verify
returns positive value on success, not non-zero. [ruby-core:21762]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22549 b2dd03c8-39d4-4d8f-98ff-823f...
yugui (Yuki Sonoda)
02:05 PM Revision c19edf67 (git): merges r22393 from trunk into ruby_1_9_1.
* file.c (rb_file_s_extname): fix for spaces before extention.
[ruby-dev:38044]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:42 PM Revision 624d07b0 (git): * string.c (tr_trans): should recalculate coderange.
[ruby-core:22326] (reopened at [ruby-core:22328])
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:38 PM Revision 7b1bbd59 (git): * test/ruby/test_string.rb (test_tr): test for [ruby-core:22328].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:10 PM Revision ebe322b1 (git): merge revision(s) 21354:
* eval.c (stack_extend): streamlined rb_thread_restore_context()
to ensure O(1) time. based on a patch by Brent Roman <brent AT
mbari.org>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22544 b2dd...
shyouhei (Shyouhei Urabe)
01:08 PM Revision 214d80f8 (git): merge revision(s) 21354:
* eval.c (stack_extend): streamlined rb_thread_restore_context()
to ensure O(1) time. based on a patch by Brent Roman <brent AT
mbari.org>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22542 b2dd...
shyouhei (Shyouhei Urabe)
01:04 PM Revision cb016e32 (git): merge revision(s) 21353:
* eval.c (cc_mark): frees the continuation's stack if its thread
is dead to avoid recursive gc that segfaults. [ruby-core:13889]
a patch by Brent Roman <brent AT mbari.org>.
* eval.c (rb_cont_check): checks f...
shyouhei (Shyouhei Urabe)
01:01 PM Revision 935b0347 (git): merge revision(s) 21353:
* eval.c (cc_mark): frees the continuation's stack if its thread
is dead to avoid recursive gc that segfaults. [ruby-core:13889]
a patch by Brent Roman <brent AT mbari.org>.
* eval.c (rb_cont_check): checks f...
shyouhei (Shyouhei Urabe)
12:49 PM Revision 7fa70202 (git): merges r22389 from trunk into ruby_1_9_1.
* thread.c (thread_start_func_2): do not delete main thread from
living_threads. [ruby-core:19385], [ruby-core:22158]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:49 PM Revision 4a3765a2 (git): merges r22363 from trunk into ruby_1_9_1.
* compile.c: fix to add "ensure" codes across "while" clause
before "return" expression. [ruby-dev:37967]
* bootstraptest/test_flow.rb: add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22536 b2dd03c8-39d4-4...
yugui (Yuki Sonoda)
12:49 PM Revision 8335857e (git): merges r22322 from trunk into ruby_1_9_1.
* variable.c (rb_define_hooked_variable): suppress false assertion
with VC9. [ruby-core:22115]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:49 PM Revision 174eed35 (git): merges r22275 from trunk into ruby_1_9_1.
* vm_eval.c (eval_string_with_cref): use rb_vm_get_ruby_level_next_cfp()
instead of vm_get_ruby_level_caller_cfp(). checking a upper frame
is not enough. [ruby-dev:37984]
* proc.c, vm_core.h: declare rb_vm_get_ruby_level_next_cfp()...
yugui (Yuki Sonoda)
12:49 PM Revision c7782f91 (git): merges r22259 from trunk into ruby_1_9_1.
* compile.c (hide_obj): OBJ_FREEZE() is not an expression. a patch
from nagachika <nagachika00 AT gmail.com> at [ruby-dev:37977].
* compile.c (insn_set_sc_state): fixed typoe.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/rub...
yugui (Yuki Sonoda)
12:49 PM Revision f08b595a (git): merges r22255 from trunk into ruby_1_9_1.
* compile.c (compile_array_, defined_expr, iseq_compile_each): hide
and freeze internal literal objects, to prevent from modifying.
[ruby-dev:37959]
* iseq.c (insn_operand_intern): copy internal literal objects.
* insns.def (putstr...
yugui (Yuki Sonoda)
12:49 PM Revision 1efaf20e (git): merges r22253 from trunk into ruby_1_9_1.
* ext/stringio/stringio.c (strio_ungetc): calculates new position
before reallocation. [Bug#1099]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:49 PM Revision 3c9aa0e6 (git): merges r22247 from trunk into ruby_1_9_1.
update rdoc [ruby-core:20407] #835
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:43 PM Revision 6cec6748 (git): merge revision(s) 21298:
* numeric.c (ruby_float_step): extracted from num_step().
* range.c (range_step): uses ruby_float_step() for float range.
[ruby-dev:37691]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22528 b2dd03c8...
shyouhei (Shyouhei Urabe)
11:09 AM Revision 80d230c3 (git): * ext/socket/option.c (inspect_linger): message refined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:47 AM Bug #1185 (Closed): Segfault after removal of method_missing
=begin
Applied in changeset r22494.
=end
nobu (Nobuyoshi Nakada)
10:28 AM Revision 22cef963 (git): * ext/socket/init.c (s_recvfrom): use rb_io_wait_readable after
recvfrom.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:23 AM Revision ec5d31b3 (git): * ChangeLog: [ruby-core:22326] has been fixed at r22505.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:49 AM Revision bdc75418 (git): merges r22180 from trunk into ruby_1_9_1.
* ext/win32ole/win32ole.c (load_conv_function51932): fixed for the
case IMultiLanguage is not available. [ruby-dev:37950]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:48 AM Revision 6ac1783d (git): merges r22146 from trunk into ruby_1_9_1.
* io.c (io_encoding_set): ignore second argument when external and
internal are same. [ruby-dev:37939]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:48 AM Revision bb8f8db5 (git): merges r22132 from trunk into ruby_1_9_1.
* include/ruby/st.h, st.c: order entries by a linked list instead of
a loop to fix iteration miss when hash is modified during iteration.
[ruby-dev:37910]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22522 b2dd03c...
yugui (Yuki Sonoda)
09:48 AM Revision b80b04fe (git): merges r22130 from trunk into ruby_1_9_1.
* include/ruby/backward/rubysig.h (rb_thread_blocking_region_begin),
(rb_thread_blocking_region_end): marked as deprecated.
* include/ruby/backward/rubysig.h (TRAP_BEG): fix for C++. a
patch from Aman Gupta at [ruby-core:21934]
gi...
yugui (Yuki Sonoda)
09:48 AM Revision 70b3d782 (git): merges r22123 from trunk into ruby_1_9_1.
* include/ruby/backward/rubysig.h: extern "C" was missing.
[ruby-core:21929]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:48 AM Revision b08d687d (git): merges r22121 from trunk into ruby_1_9_1.
* io.c (rb_io_s_binread): ensures file path. [ruby-dev:37940]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:48 AM Revision 930729e6 (git): merges r22099 from trunk into ruby_1_9_1.
* io.c (io_fread): use rb_io_wait_readable for retry
avoid Errno::EINTR on ruby -e 'trap(:CHLD) {}; spawn("sleep 1"); STDIN.read'
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:48 AM Revision c6b4cb12 (git): merges r22091 from trunk into ruby_1_9_1.
* signal.c (register_sigaltstack): ignore sigaltstack error.
It fails on OpenBSD 4.4 when pthread library is linked.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:48 AM Revision 051558c9 (git): merges r22085 from trunk into ruby_1_9_1.
* ruby.c (process_options): -K and -E in shebang should be reflect to
default_external. [ruby-dev:37920]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:47 AM Revision 81e2c9e1 (git): merges r22083 from trunk into ruby_1_9_1.
* string.c (rb_str_each_codepoint): update RDoc for
String#codepoints. a patch from Radoslaw Bulat in
[ruby-core:21835]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:47 AM Revision 32c10534 (git): merges r22081 from trunk into ruby_1_9_1.
* cont.c (cont_mark, cont_capture, cont_restore_1): use #else instead
of #elif. a patch from NISHIMATSU Takeshi <t_nissie at yahoo.co.jp>
in [ruby-list:45856].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22514 b...
yugui (Yuki Sonoda)
09:47 AM Revision 71a800a5 (git): merges r22054 and r22055 from trunk into ruby_1_9_1.
* ext/readline/readline.c (Init_readline): entry may be NULL.
[ruby-dev:37891]
--
change from assigned variable to called function
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:47 AM Revision 083d726b (git): merges r22053 from trunk into ruby_1_9_1.
* time.c (LOCALTIME): should call tzset() before localtime_r().
[ruby-dev:37896]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:47 AM Revision 0cc6f32d (git): merges r22037 from trunk into ruby_1_9_1.
rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:47 AM Revision de16edce (git): merges r22025 from trunk into ruby_1_9_1.
* win32/mkexports.rb: shouldn't export DllMain.
reported at http://pc11.2ch.net/test/read.cgi/tech/1233686068/21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:47 AM Revision 441746f4 (git): merges r22024 from trunk into ruby_1_9_1.
* missing/vsnprintf.c (BSD_vfprintf): should support 't' format
modifier to handle PRIdPTRDIFF. thanks for the info from
Kazuhiro NISHIYAMA. [ruby-core:21807]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22509 b...
yugui (Yuki Sonoda)
09:47 AM Revision 9a62ed56 (git): gets rid of ^D^D to quit script from stdin.
merges r22017 from trunk into ruby_1_9_1.
* ruby.c (load_file_internal): resets EOF flag after parse.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:40 AM Revision c160c6e5 (git): * ext/socket/option.c (inspect_errno): new function.
(sockopt_inspect): use inspect_errno for SO_ERROR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
06:12 AM Revision af7d8584 (git): * re.c (Init_Regexp): define Regexp::FIXEDENCODING. [ruby-dev:38066]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:33 AM Revision bc59123d (git): * string.c (tr_trans): should not be affected by the encoding of
replacement unless actually modified. [ruby-talk:328967]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:38 AM Revision 0ec57a60 (git): * ext/socket/init.c (s_recvfrom_nonblock): handles EAGAIN too.
* ext/socket/init.c (s_accept_nonblock): ditto, and EPROTO depends
on platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:37 AM Feature #1133 (Closed): Pathname.binread
=begin
Applied in changeset r22493.
=end
matz (Yukihiro Matsumoto)
04:30 AM Revision 898d3136 (git): merges r21998 from trunk into ruby_1_9_1.
* lib/net/imap.rb: validate data before sending to a server.
[ruby-core:20320]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
04:30 AM Revision 0d1513fa (git): merges r21996 from trunk into ruby_1_9_1.
* lib/net/imap.rb (hmac_md5): should use String#ord to get ascii
code from the one-character string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
04:30 AM Revision 759ab70c (git): * 2009-02-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:30 AM Revision abc40f03 (git): merges r21917, r21955 and r21974 from trunk into ruby_1_9_1.
* load.c (rb_require_safe): raises when the path to be loaded is
tainted. [ruby-dev:37843]
---
* file.c (rb_find_file_ext): should not be infected from other
load paths.
---
* adds a test case for r21955 and r21917.
git-svn-id: svn...
yugui (Yuki Sonoda)
04:06 AM Revision 88860a06 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:04 AM Revision 5c94b5d1 (git): * eval.c (ruby_options): evaluator now expects iseq instead of tree.
* ruby.c (ruby_process_options): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
04:03 AM Revision e99fb316 (git): * Makefile.in (configure): unset PWD to use symlink to building
directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:03 AM Revision 510f34d6 (git): * Makefile.in (configure): unset PWD to use symlink to building
directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:56 AM Revision 70946fb3 (git): * Makefile.in (up): cd doesn't need LC_TIME, VCS needs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:47 AM Revision 1e51a7b2 (git): * vm_eval.c (method_missing): should not pop cfp if missing method
is method_missing. [ruby-core:22298]
* vm_eval.c (rb_raise_method_missing): new function to directly
raise NoMethodError.
* vm_insnhelper.c (vm_call_method): fixed the case method_missing
is missing.
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
01:43 AM Revision 19bbab61 (git): * vm_eval.c (method_missing): should not pop cfp if missing method
is method_missing. [ruby-core:22298]
* vm_eval.c (rb_raise_method_missing): new function to directly
raise NoMethodError.
* vm_insnhelper.c (vm_call_method): fixed the case method_missing
is missing.
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
12:39 AM Feature #1122: request for: Object#try
=begin
On 21/02/2009, Roger Pack <rogerdpack@gmail.com> wrote:
...
>
> > The other thing I occasionally do and which could be more streamlined
> > looks like this:
> >
> > here fd of a pipe might be already closed but it may n...
hramrach (Michal Suchanek)
12:15 AM Bug #1190 (Closed): irb's "help" command errs in 1.9
=begin
irb(main):001:0> RUBY_DESCRIPTION
=> "ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-mingw32]"
irb(main):002:0> help "String#chars"
NameError: undefined method `execute' for module `IRB::ExtendCommand::Help'
from ...
rogerdpack (Roger Pack)

02/21/2009

11:56 PM Bug #1186 (Rejected): :method_missing not shown as an instance_method of BasicObject
=begin

=end
shyouhei (Shyouhei Urabe)
03:06 PM Bug #1186: :method_missing not shown as an instance_method of BasicObject
=begin
It's private.

> ruby1.9 -v -e 'p BasicObject.private_instance_methods'
ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-darwin9]
[:initialize, :singleton_method_added, :singleton_method_removed, :singleton_method_undefined...
godfat (Lin Jen-Shin)
04:57 AM Bug #1186 (Rejected): :method_missing not shown as an instance_method of BasicObject
=begin
Although BasicObject seems to implement :method_missing...
------------------------------------------------------------------------
514/15 > ruby -v -e 'p BasicObject.instance_method( :method_missing )'
ruby 1.9.1p0 (2009-0...
RobertDober (Robert Dober)
07:32 PM Revision 3b39217f (git): * lib/pathname.rb (Pathname#binread): added. [ruby-dev:37952]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matz (Yukihiro Matsumoto)
05:16 PM Revision 47c6ecfa (git): * ext/socket/ancdata.c (bsock_recvmsg_internal): handle EMSGSIZE as
well.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
05:04 PM Revision 6b0f5967 (git): * ext/socket/ancdata.c (bsock_recvmsg_internal): check max length
overflow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
04:54 PM Revision ce1f8cfd (git): * 2009-02-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:54 PM Revision ac896ee3 (git): * Makefile.in (update-rubyspec, test-rubyspec): Catch up to
rubyspec merge. A patch by Brian Ford at [ruby-core:21032]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
04:53 PM Revision 60f2cec6 (git): * ext/socket/ancdata.c (bsock_recvmsg_internal): don't call
discard_cmsg_resource when EMFILE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
04:49 PM Revision ad2f293d (git): * ext/socket/ancdata.c (bsock_recvmsg_internal): gc when SCM_RIGHTS
hit the file descriptor limit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:57 PM Revision 9cfe35ad (git): * io.c (io_getpartial): error message describes what should be
waited after nonblocking error.
(rb_io_write_nonblock): ditto.
* ext/socket/init.c (s_recvfrom_nonblock): ditto.
(s_accept_nonblock): ditto.
* ext/socket/socket.c (sock_connect_nonblock): ditto.
* ext/socket/ancdata.c (bsock_sendm...
akr (Akira Tanaka)
03:50 PM Revision 6d55a704 (git): merge revision(s) 21297:
* ext/extmk.rb (extmake): does not use both of makefile.rb and
extconf.rb at the same time.
* lib/mkmf.rb (DLLIB): depends on Makefile. [ruby-core:21096]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_...
shyouhei (Shyouhei Urabe)
03:49 PM Revision 2af8e54e (git): merge revision(s) 21297:
* ext/extmk.rb (extmake): does not use both of makefile.rb and
extconf.rb at the same time.
* lib/mkmf.rb (DLLIB): depends on Makefile. [ruby-core:21096]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_...
shyouhei (Shyouhei Urabe)
03:32 PM Revision 6adda037 (git): * 2009-02-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:32 PM Revision d227ca29 (git): * ext/socket/ancdata.c (bsock_recvmsg_internal): check recvmsg error
earlier.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:19 PM Revision d842d1bc (git): merge revision(s) 21165:
* eval.c (rb_thread_schedule): Don't change status of threads which
don't run next even if select notify readability/writability.
[ruby-core:20446]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@224...
shyouhei (Shyouhei Urabe)
03:18 PM Revision f87b1a53 (git): merge revision(s) 21165:
* eval.c (rb_thread_schedule): Don't change status of threads which
don't run next even if select notify readability/writability.
[ruby-core:20446]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@224...
shyouhei (Shyouhei Urabe)
02:05 PM Revision 90fc8d84 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:50 AM Bug #1185 (Closed): Segfault after removal of method_missing
=begin
After removing method_missing from BasicObject, ruby bombs on a missing method
-----------------------------------------------------------------------------------
ruby -v -e 'class BasicObject; remove_method :method_missing e...
RobertDober (Robert Dober)
02:22 AM Revision ca38e81f (git): * 2009-02-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:22 AM Revision ab1a639c (git): mention the platform which causes cmsg_len > msg_controllen.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)

02/20/2009

11:37 PM Bug #1164 (Closed): 1.9/windows memroy leak with rand() AND inspect
=begin
Applied in changeset r22471.
=end
usa (Usaku NAKAMURA)
09:10 PM Bug #1181: [BUG] thread_free: keeping_mutexes must be NULL
=begin
Hi,

2009/2/20 Yusuke ENDOH <mame@tsg.ne.jp>:
> HI,
>
> 2009/2/20 Chris Schlaeger <redmine@ruby-lang.org>:
>> I've tried to run taskjuggler with ruby 1.9 CVS from today and got internal error messages. The applications runs...
mame (Yusuke Endoh)
12:45 PM Bug #1181: [BUG] thread_free: keeping_mutexes must be NULL
=begin

=end
shyouhei (Shyouhei Urabe)
12:39 PM Bug #1181: [BUG] thread_free: keeping_mutexes must be NULL
=begin
HI,

2009/2/20 Chris Schlaeger <redmine@ruby-lang.org>:
> I've tried to run taskjuggler with ruby 1.9 CVS from today and got internal error messages. The applications runs fine with ruby 1.8.7. I tried to cut it down to a smal...
mame (Yusuke Endoh)
05:10 AM Bug #1181 (Closed): [BUG] thread_free: keeping_mutexes must be NULL
=begin
I've tried to run taskjuggler with ruby 1.9 CVS from today and got internal error messages. The applications runs fine with ruby 1.8.7. I tried to cut it down to a smaller test case, but it seems like you need the full app to tri...
orem (Chris Schlaeger)
08:51 PM Bug #1180: gethostbyname
=begin
Hi,

At Fri, 20 Feb 2009 01:32:06 +0900,
Oleg Puchinin wrote in [ruby-core:22261]:
> where is "getnamebyhost" ?

Is what you want Socket.getnameinfo?

--
Nobu Nakada
=end
nobu (Nobuyoshi Nakada)
12:14 PM Bug #1180 (Feedback): gethostbyname
=begin
What do you mean?

$ dig www.example.com | grep -w IN
;www.example.com. IN A
www.example.com. 80 IN A 208.77.188.166
=end
nobu (Nobuyoshi Nakada)
01:32 AM Bug #1180 (Rejected): gethostbyname
=begin
Socket.gethostbyname("192.0.34.166")
return ["192.0.34.166", [], 2, "\xC0\x00\"\xA6"],
not ["www.example.com", [], 2, "\300\000\"\246"]

where is "getnamebyhost" ?

Best regards,
Oleg.
=end
OlegPuchinin (Oleg Puchinin)
02:59 PM Bug #1177: eof for socket block script
=begin
Hi,

At Thu, 19 Feb 2009 23:23:23 +0900,
Oleg Puchinin wrote in [ruby-core:22258]:
> eof and eof? run awhile
> Is it OK ?
> How to check socket EOF without blocking ?

Could you show the reproduceable code?

--
Nobu N...
nobu (Nobuyoshi Nakada)
02:29 PM Revision 6ccdc76f (git): * 2009-02-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:29 PM Revision 8563b285 (git): * util.c (rv_alloc, freedtoa): use our normal xmalloc()/xfree() because
couldn't free the returned pointer from ruby_dtoa().
* missing/vsnprintf.c (cvt): receive buffer and use/return it instead
of returning the pointer returned from BSD__dtoa().
* missing/vsnprintf.c (BSD_vfprint...
U.Nakamura
01:51 PM Feature #908: Should be an easy way of reading N characters from am I/O stream
=begin
At 19:00 09/02/19, Tanaka Akira wrote:

>It seems the number, 40, is a number for "big enough for
>names".
>
>Why don't you use 40 bytes data format, both with Ruby 1.8
>and 1.9?
>
>Do you think that 40 bytes is not big e...
duerst (Martin Dürst)
01:51 PM Feature #908: Should be an easy way of reading N characters from am I/O stream
=begin
At 19:59 09/02/19, Michael Selig wrote:

>Also there are reports reading the data which expect the data to be 40
>characters wide. If it wasn't 40 chars, the formatting of the report may
>screw up.

Hello Michael,

In...
duerst (Martin Dürst)
12:02 PM Bug #1178 (Feedback): circular dependency on missing ffi
=begin
I couldn't reproduce it, with or without sudo.

$ gem19 install ffi
WARNING: Installing to ~/.gem since /usr/lib/ruby/gems/1.9.1 and
/usr/bin aren't both writable.
WARNING: You don't have /home/nobu/.gem/ruby/1.9.1...
nobu (Nobuyoshi Nakada)
01:25 AM Bug #1178 (Rejected): circular dependency on missing ffi
=begin
On Linux version 2.6.27.10-desktop-1mnb (qateam@titan.mandriva.com) (gcc version 4.3.2 (GCC) ) #1 SMP Thu Jan 29 10:49:40 EST 2009, I downloaded, configured, made, and installed ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linu...
sinobra (Fred Obermann)
11:43 AM Revision 28d53ca8 (git): merge revision(s) 21066:
* lib/optparse.rb (OptionParser::List#summarize): gives priority
to latter switches. [ruby-dev:36692]
* lib/optparse.rb (OptionParser#summarize): do not append
unnecessary line terminator.
git-svn-id: svn+s...
shyouhei (Shyouhei Urabe)
11:42 AM Revision 54b82ec9 (git): merge revision(s) 21066:
* lib/optparse.rb (OptionParser::List#summarize): gives priority
to latter switches. [ruby-dev:36692]
* lib/optparse.rb (OptionParser#summarize): do not append
unnecessary line terminator.
git-svn-id: svn+s...
shyouhei (Shyouhei Urabe)
10:35 AM Revision bffc1805 (git): merge revision(s) 20884:
* lib/cgi/session.rb: ignore session_id options fixed.[Bug #605]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
10:34 AM Revision b0fc5e54 (git): merge revision(s) 20884:
* lib/cgi/session.rb: ignore session_id options fixed.[Bug #605]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
09:06 AM Revision 4d17c733 (git): merge revision(s) 20855:
Merged 20854 from trunk.
* lib/xmlrpc/server.rb: Restricting method inspection to show only
non-inherited public methods. [ruby-core:20603]
* lib/xmlrpc/server.rb: Fixing method inspection so it doesn't
...
shyouhei (Shyouhei Urabe)
09:06 AM Revision c1009be7 (git): merge revision(s) 20855:
Merged 20854 from trunk.
* lib/xmlrpc/server.rb: Restricting method inspection to show only
non-inherited public methods. [ruby-core:20603]
* lib/xmlrpc/server.rb: Fixing method inspection so it doesn't
...
shyouhei (Shyouhei Urabe)
04:49 AM Feature #1122: request for: Object#try
=begin
2009/2/19 Radosław Bułat <radek.bulat@gmail.com>:
>
> It doesn't convince me. It can lead to bad programming style and could
> hide important error from programmer (the same goes to "blah() rescue
> nil" thing which should be...
hramrach (Michal Suchanek)
01:08 AM Feature #1122: request for: Object#try
=begin
On Thu, Feb 19, 2009 at 2:55 PM, Michal Suchanek <hramrach@centrum.cz> wrote:
> I think you are off the track here, at least WRT the original use of try.
>
> The #try(:name,...) would try to call :name on the object, and retur...
radarek (Radosław Bułat)

02/19/2009

11:23 PM Bug #1177 (Rejected): eof for socket block script
=begin
eof and eof? run awhile
Is it OK ?
How to check socket EOF without blocking ?
=end
OlegPuchinin (Oleg Puchinin)
10:55 PM Feature #1122: request for: Object#try
=begin
2009/2/19 Joel VanderWerf <vjoel@path.berkeley.edu>:
> Roger Pack wrote:
>>
>> On Wed, Feb 18, 2009 at 2:35 PM, Joel VanderWerf
>> <vjoel@path.berkeley.edu> wrote:
>>>
>>> Roger Pack wrote:
>>>>>>>
>>>>>>> Then how it is ...
hramrach (Michal Suchanek)
03:10 AM Feature #1122: request for: Object#try
=begin
On Wed, Feb 18, 2009 at 6:29 PM, Roger Pack <rogerdpack@gmail.com> wrote:
>> IMHO, foo.?bar should behave as "call-except-if-nil". Not only it
>> would be more consistent with other languages (like Io and Groovy),
>> but I thi...
radarek (Radosław Bułat)
08:01 PM Feature #908: Should be an easy way of reading N characters from am I/O stream
=begin
2009/2/19 Tanaka Akira <akr@fsij.org>:
> In article <op.upklh9q19245dp@kool>,
> "Michael Selig" <michael.selig@fs.com.au> writes:
>
>> In more detail: I have a legacy system that uses fixed length fields. Yes,
>> a name is ...
hramrach (Michal Suchanek)
07:55 PM Feature #908: Should be an easy way of reading N characters from am I/O stream
=begin
2009/2/19 Tanaka Akira <akr@fsij.org>:
> In article <op.upklh9q19245dp@kool>,
> "Michael Selig" <michael.selig@fs.com.au> writes:

>> Also it seems to me that the current usage of the "limit" parameter of
>> IO#gets is not ...
hramrach (Michal Suchanek)
12:21 AM Feature #908: Should be an easy way of reading N characters from am I/O stream
=begin
2009/2/18 Tanaka Akira <akr@fsij.org>:
> In article <a5d587fb0902160252u56b50cfdv8e0fd36bb4f0b1b3@mail.gmail.com>,
> Michal Suchanek <hramrach@centrum.cz> writes:
>
>>> What is represented by the N chars?
>>
>> I don't und...
hramrach (Michal Suchanek)
04:41 PM Revision e2608406 (git): merge revision(s) 20752:
* lib/sync.rb (Sync_m#sync_try_lock): wrong variable name fixed.
a patch from [ruby-core:20561]
* lib/sync.rb (Sync_m::Err.Fail): turn off Thread.critical before
exit.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
shyouhei (Shyouhei Urabe)
04:40 PM Revision dd97bd1d (git): merge revision(s) 20752:
* lib/sync.rb (Sync_m#sync_try_lock): wrong variable name fixed.
a patch from [ruby-core:20561]
* lib/sync.rb (Sync_m::Err.Fail): turn off Thread.critical before
exit.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
shyouhei (Shyouhei Urabe)
03:27 PM Bug #1176 (Third Party's Issue): uninitialized constant Zlib::FFI after fresh ruby compilation
=begin

=end
nobu (Nobuyoshi Nakada)
02:56 PM Bug #1176 (Third Party's Issue): uninitialized constant Zlib::FFI after fresh ruby compilation
=begin
I just installed 1.9.1 onto Mandriva 2009 (Linux version 2.6.27.10-desktop-1mnb (qateam@titan.mandriva.com) (gcc version 4.3.2 (GCC) ))

zlib is installed on the machine, details as follows:
Version: 1.2.3-12mdv2009.0
...
sinobra (Fred Obermann)
02:01 PM Revision 09396dcf (git): * ext/socket/ancdata.c (make_io_for_unix_rights): cmsg_len may be
bigger than msg_controllen.
freeze unix_rights array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:57 PM Bug #1175 (Closed): File.expand_path("~user") dose not work
=begin
Applied in changeset r22428.
=end
nobu (Nobuyoshi Nakada)
12:23 PM Bug #1175 (Closed): File.expand_path("~user") dose not work
=begin
File.expand_path が "~user" のような特定ユーザのホームディレクトリ指定を含む
パスを展開しなくなっているようです。

% ruby-trunk -v -e 'p File.expand_path("~user")'
ruby 1.9.2dev (2009-02-19 trunk 22427) [i686-linux]
"~user"

HAVE_GETPWENT が定義されていないといけないのに co...
nagachika (Tomoyuki Chikanaga)
01:18 PM Revision 98f82fc6 (git): * ext/socket/ancdata.c (bsock_recvmsg_internal): fix exception.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:13 PM Revision bed42944 (git): * ext/socket/ancdata.c (ancillary_unix_rights): method renamed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:33 AM Bug #1164: 1.9/windows memroy leak with rand() AND inspect
=begin
can reproduce in this code:
loop{0.0.inspect}

this problem seems to occur only when ruby is compiled with VC6.
so, it maybe compilers problem.
=end
usa (Usaku NAKAMURA)
09:02 AM Revision 619450c2 (git): merge revision(s) 20581:
* pack.c (pack_pack): fixed odd act of 'm*', 'M*', and 'P*'.
just ignores '*' in these cases.
[ruby-dev:37289]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
09:01 AM Revision aa98314c (git): merge revision(s) 20581:
* pack.c (pack_pack): fixed odd act of 'm*', 'M*', and 'P*'.
just ignores '*' in these cases.
[ruby-dev:37289]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
08:26 AM Revision 8d81fc6d (git): merge revision(s) 20580:
* pack.c (pack_pack): fixed length for odd length string.
[ruby-dev:37283]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
08:25 AM Revision d7f27048 (git): merge revision(s) 20580:
* pack.c (pack_pack): fixed length for odd length string.
[ruby-dev:37283]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
08:19 AM Revision fe9c4e61 (git): merge revision(s) 20578:
* eval.c (rb_yield_0): Qundef means no argument. [ruby-Bugs-22525]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
06:47 AM Revision 7c769004 (git): * template/fake.rb.in: extracted from Makefile.in.
* configure.in (fake.rb): prefixed with $(arch)-.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:39 AM Revision 3e1394f3 (git): * ext/openssl/ossl_ocsp.c (ossl_ocspbres_verify): OCSP_basic_verify
returns positive value on success, not non-zero. [ruby-core:21762]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:34 AM Bug #1169: Thread#priority still doesn't work
=begin

Native threaded implementations will have a difficult time implementing the
same semantics as the green threaded Thread.priority=
One would probably have to resort to a "real-time" thread classes.
Under Linux, I'm pretty sur...
brent (Brent Roman)
06:17 AM Revision a285f856 (git): * lib/tmpdir.rb (@@systmpdir): File.expand_path also joins paths.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:14 AM Revision 22f1a984 (git): * ext/etc/etc.c (etc_each_group): defines only when Etc::Group is
available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:11 AM Revision f35308b3 (git): * eval_intern.h (translit_char): moved from ruby.c.
* load.c (load_ext): transliterates file separators and back if
needed.
* symbian/setup (DLN_NEEDS_ALT_SEPARATOR): defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:48 AM Revision 6d3ceb6c (git): * configure.in, */Makefile.sub (LOAD_RELATIVE): moved from ruby.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:39 AM Revision e2f62813 (git): * configure.in (darwin): uses -unexported_symbol option of ld instead
of objcopy
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:24 AM Revision c59107a9 (git): * configure.in (darwin): makes dylib instead of so.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:22 AM Revision 636b14b7 (git): * lib/mkmf.rb (create_makefile): added phony targets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:22 AM Revision 030eed8f (git): * lib/mkmf.rb (create_makefile): added phony targets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:18 AM Revision fb3fee22 (git): * lib/mkmf.rb (create_makefile): removes directories in the depth
order.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:14 AM Revision a3fb4ee3 (git): * 2009-02-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:14 AM Revision 6784d8fd (git): * lib/mkmf.rb (create_makefile): creates target directories before
copying. [ruby-core:21958]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:14 AM Revision 6ae8d52a (git): * lib/soap/mimemessage.rb (MIMEMessage#to_s): Fix a fatal
method name typo. [Bug #1173]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
04:56 AM Revision 4caba4eb (git): * file.c (rb_home_dir): checks if HAVE_PWD_H. [ruby-dev:38049]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:27 AM Bug #1170 (Closed): test_file_exhaustive.rb fails if building as root
=begin
Applied in changeset r22423.
=end
mame (Yusuke Endoh)
03:23 AM Bug #1170: test_file_exhaustive.rb fails if building as root
=begin
Done. Thank you!


2009/2/18 Lucas Nussbaum <redmine@ruby-lang.org>:
> Bug #1170: test_file_exhaustive.rb fails if building as root
> http://redmine.ruby-lang.org/issues/show/1170
>
> Author: Lucas Nussbaum
> Status: Ope...
mame (Yusuke Endoh)
02:05 AM Feature #934: request for Time.parse to no longer return Time.now on failure
=begin
Thanks for doing that.
Also what happened to default parameters?
>> ->(c=1) {}.parameters
=> [[:opt, :c]]
Thanks!
-=r
=end
rogerdpack (Roger Pack)

02/18/2009

11:47 PM Revision 90f84988 (git): * ext/socket/rubysocket.h: add "#include <sys/stat.h>"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e takano32 (Mitsuhiro TAKANO)
09:25 PM Bug #1172 (Rejected): [sparc] *** glibc detected *** ruby1.9: free(): invalid pointer: 0xf7ef6a54 ***
=begin
Hi,

The following script causes the interpreter to crash on SPARC.
It is likely to be caused by a mix of continuation and GC.

<---
GC.start
require 'continuation'
o = Object.new
def o.to_ary() ...
lucas (Lucas Nussbaum)
06:45 PM Bug #1171 (Closed): ri: if "pager" exists, use it before trying less.
=begin
Hi,

On Debian/Ubuntu, "pager" points to the preferred system pager.
It should be tried before "less".

This patch is used in the Debian package.

diff -urNad ruby1.9-1.9.0.1~/lib/rdoc/ri/display.rb ruby1.9-1.9.0.1/...
lucas (Lucas Nussbaum)
06:43 PM Revision 18afbc89 (git): * ext/socket/ancdata.c (ancillary_rights): new method.
(make_io_for_rights): new function to allocate
IOs for FDs in SCM_RIGHTS message.
(bsock_recvmsg_internal): use make_io_for_rights. So the FDs can be
closed by GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22426 b2dd03c8...
akr (Akira Tanaka)
06:39 PM Revision 2485ed51 (git): Sync with README.EXT.ja.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
06:34 PM Bug #1170 (Closed): test_file_exhaustive.rb fails if building as root
=begin
Hi,

Some tests in test_file_exhaustive.rb fail if the build is running as root (which is the case on the Debian buildds, where we use fakeroot to give the illusion that the build process is running as root).

The attache...
lucas (Lucas Nussbaum)
06:34 PM Revision 678adc87 (git): * README.EXT, README.EXT.ja: Improve the document about
rb_scan_args() even more.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
06:22 PM Bug #1169 (Closed): Thread#priority still doesn't work
=begin
Hi,

In [ruby-dev:33124], it was reported that Thread#priority didn't work properly. Apparently, it still doesn't work: test_priority still randomly fails during 'make tests-all'.

Example script:
c1 = c2 = 0
t1 = Thr...
lucas (Lucas Nussbaum)
06:17 PM Revision 234bc1d7 (git): * test/ruby/test_file_exhaustive.rb: skip some tests if euid == 0.
a patch from Lucas Nussbaum in [ruby-core:22209].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
06:02 PM Revision b09fde68 (git): * 2009-02-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:02 PM Revision f9875993 (git): * README.EXT, README.EXT.ja: Improve the document about
rb_scan_args().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
04:24 PM Bug #1157: missing zlib.rb?
=begin
I encountered the same error when installing to a fresh copy of Ubuntu 8.10 Intrepid Ibex. Turned out ext/zlib has extconf.rb which means its make files get generated from calling "ruby extconf.rb"

Since there was no ruby ...
mwlang (Michael Lang)
01:47 PM Revision 75ba47e8 (git): * ext/socket/ancdata.c (discard_cmsg_resource): new function to close
file descriptors in control message.
(bsock_recvmsg_internal): call discard_cmsg_resource before retrying
recvmsg.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:28 PM Revision 440fec21 (git): merge revision(s) 20540:
* win32/win32.c (rb_w32_isatty): check whether fd is valid.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
01:27 PM Revision 52b49b39 (git): merge revision(s) 20540:
* win32/win32.c (rb_w32_isatty): check whether fd is valid.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
01:24 PM Revision 9d8bb15c (git): merge revision(s) 20537:
* win32/win32.c (waitpid): fix bug of checking child slot.
* win32/win32.c (FindChildSlotByHandle): new.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
01:24 PM Revision 98b8e7eb (git): merge revision(s) 20537:
* win32/win32.c (waitpid): fix bug of checking child slot.
* win32/win32.c (FindChildSlotByHandle): new.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
01:17 PM Revision a199dc84 (git): merge revision(s) 20525:
* pack.c (pack_pack): propagate taint status from format string to
result string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
01:16 PM Revision 8c6b78c1 (git): merge revision(s) 20525:
* pack.c (pack_pack): propagate taint status from format string to
result string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
01:08 PM Revision 21631eca (git): merge revision(s) 20360:20363:
* ext/gdbm/gdbm.c: do not set members of RSTRING(str) directly.
[ruby-dev:37182]
* ext/gdbm/gdbm.c (rb_gdbm_nextkey): fix memory leak.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22406 b2dd03c8-39d...
shyouhei (Shyouhei Urabe)
01:07 PM Revision c80ddbd8 (git): merge revision(s) 20360:20363:
* ext/gdbm/gdbm.c: do not set members of RSTRING(str) directly.
[ruby-dev:37182]
* ext/gdbm/gdbm.c (rb_gdbm_nextkey): fix memory leak.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22404 b2dd03c8-39d...
shyouhei (Shyouhei Urabe)
12:48 PM Revision f1a39b9e (git): * ext/socket/ancdata.c (bsock_recvmsg_internal): prevent misalignment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:35 PM Revision 34152d65 (git): * ext/socket/ancdata.c (bsock_sendmsg_internal): avoid misalignment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:27 PM Revision d89e09b3 (git): * ext/socket/ancdata.c (bsock_recvmsg_internal): reduce code on
environments which have no control message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:27 AM Revision 288e892a (git): * configure.in (OBJCOPY): set ac_cv_prog_ac_ct_OBJCOPY to do nothing
on cygwin and mingw because symbols are exported by def file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:52 AM Bug #657: Thread.new { fork }
=begin
Hi,

At Tue, 17 Feb 2009 08:55:06 +0900,
Nobuyoshi Nakada wrote in [ruby-core:22191]:
> > % ./ruby -e 'Thread.new { fork }'
> > % killall ruby
> > [BUG] pthread_mutex_lock: 22
> > ruby 1.9.2dev (2009-02-16 trunk 22339) [i3...
nobu (Nobuyoshi Nakada)
10:37 AM Bug #657 (Closed): Thread.new { fork }
=begin
Applied in changeset r22389.
=end
nobu (Nobuyoshi Nakada)
06:35 AM Revision 58f97825 (git): * file.c (rb_file_chown): use chown unless HAVE_FCHOWN.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:33 AM Revision 30231731 (git): * io.c (pipe_open): sarg is always used unless HAVE_FORK.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:27 AM Revision fd2b650d (git): * bootstraptest/runner.rb: Use RUBY_DESCRIPTION if defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
06:21 AM Revision 3229c320 (git): * io.c (rb_write_error2, argf_next_argv), process.c (rb_fork_err),
random.c (fill_random_seed): suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:33 AM Revision 1128e615 (git): * array.c (rb_ary_resurrect), string.c (rb_str_resurrect): new
functions based on [ruby-dev:37983]
* insns.def (putstring, duparray): use rb_{ary,str}_resurrect().
* iseq.c (iseq_data_to_ary): needs to result TS_VALUE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22395 b2dd03c8-39d4-4d8f-98...
nobu (Nobuyoshi Nakada)
03:38 AM Revision bb975600 (git): * file.c (rb_file_s_extname): fix for spaces before extention.
[ruby-dev:38044]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:38 AM Revision 829ab738 (git): * file.c (rb_file_s_extname): fix for spaces before extention.
[ruby-dev:38044]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:35 AM Revision bc82732b (git): * file.c (rb_file_s_extname): fix for spaces before extention.
[ruby-dev:38044]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:35 AM Revision 5f9342fa (git): * file.c (rb_file_s_extname): fix for spaces before extention.
[ruby-dev:38044]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:04 AM Revision 679b4b95 (git): * file.c: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:04 AM Revision 656e005a (git): * file.c: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:01 AM Revision 0550f4cd (git): * file.c (file_expand_path): suppress a warning. named magic
numbers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:01 AM Revision 17aa3d89 (git): * file.c (file_expand_path): suppress a warning. named magic
numbers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:52 AM Bug #1166 (Closed): Simple gcc-4.4 fix
=begin
Thank you, already fixed in the repository.
=end
nobu (Nobuyoshi Nakada)
02:34 AM Bug #1166 (Closed): Simple gcc-4.4 fix
=begin
Ruby-1.9.1-p0 does not compile with gcc-4.4.0. This patch fixes the problem (#elif statements without condition statements in ./cont.c)
=end
kanarip (Jeroen van Meeuwen)
01:49 AM Revision e5edfbf2 (git): * bootstraptest/test_fork.rb: test for [ruby-core:22158]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:29 AM Revision 28ec52c0 (git): * thread.c (thread_start_func_2): do not delete main thread from
living_threads. [ruby-core:19385], [ruby-core:22158]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:28 AM Revision 58323cdc (git): properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:57 AM Feature #1155 (Closed): Etc.each_passwd, each_group
=begin
Applied in changeset r22377.
=end
nobu (Nobuyoshi Nakada)

02/17/2009

10:46 PM Feature #1155: Etc.each_passwd, each_group
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:37999] [Feature:1.9] Etc.each_passwd, each_group"
on Fri, 13 Feb 2009 22:30:01 +0900, Nobuyoshi Nakada <nobu@ruby-lang.org> writes:

|Etc.each_passwdやEtc.each_groupというものを思いつきました。

...
matz (Yukihiro Matsumoto)
10:02 PM Revision e1f9891e (git): forgot to add.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
06:17 PM Revision 056d798e (git): * ext/dl/handle.c (rb_dlhandle_sym): moved conditionally used variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:14 PM Revision da970715 (git): * ext/socket/option.c: suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:06 PM Revision 3e4b129b (git): properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:59 PM Revision d968f625 (git): * NEWS: added Etc::{Passwd,Group}.each.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:58 PM Revision 3a6cf6d4 (git): * 2009-02-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:58 PM Revision 9bc9c63d (git): * ext/etc/etc.c (sGroup): getgrent may not be available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:29 PM Revision 9bd0ecd9 (git): add comments for rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:17 PM Revision 0b058a1c (git): forgot to modify.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:09 PM Revision e14c9923 (git): * ext/openssl: avoid cyclic require.
* ext/openssl/lib/openssl/ssl-internal.rb: renamed from ssl.rb
* ext/openssl/lib/openssl/x509-internal.rb: renamed from x509.rb.
* lib/net/imap.rb: require openssl, instead of openssl/ssl.
* lib/net/pop.rb: require openssl, instead of...
akr (Akira Tanaka)
03:55 PM Revision 47d55a02 (git): * ext/etc/etc.c (Etc::Passwd.each, Etc::Group.each): new methods.
[ruby-dev:37999]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:26 PM Revision 28cf7a6d (git): * ext/socket/ancdata.c (bsock_sendmsg_internal): make the padding
removing only on NetBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:05 AM Revision 536adb5d (git): care EWOULDBLOCK of accept_nonblock.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:43 AM Revision 2f8b471b (git): fix an error message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:40 AM Revision 3d39a9a0 (git): * ext/socket/ancdata.c (bsock_sendmsg_internal): should not remove the
last padding of control messages, basically.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:57 AM Revision 682f161d (git): * test/ostruct/test_ostruct.rb (test_frozen): added assertions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:57 AM Revision 09586247 (git): * test/ostruct/test_ostruct.rb (test_frozen): added assertions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:59 AM Bug #1164: 1.9/windows memroy leak with rand() AND inspect
=begin
Hi,

At Mon, 16 Feb 2009 21:17:55 +0900,
regis d'aubarede wrote in [ruby-core:22184]:
> # Here is my codes. memory jump far away with ruby 1.9.1, stable with 1.8.6
> # seems that a issue arrive when inspect() AND rand() are ...
nobu (Nobuyoshi Nakada)
08:55 AM Bug #657: Thread.new { fork }
=begin
Hi,

At Tue, 17 Feb 2009 02:09:05 +0900,
James M. Lawrence wrote in [ruby-core:22187]:
> > It doesn't happen on my
> > ruby 1.9.2dev (2009-02-16 trunk 22339) [i386-darwin9.6.0]
>
> I tried your revision with -O0 and again...
nobu (Nobuyoshi Nakada)
02:09 AM Bug #657: Thread.new { fork }
=begin
On Mon, Feb 16, 2009 at 6:19 AM, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
> It doesn't happen on my
> ruby 1.9.2dev (2009-02-16 trunk 22339) [i386-darwin9.6.0]

I tried your revision with -O0 and again with -O3 and ...
quix (James M. Lawrence)
08:02 AM Revision bcc1e704 (git): * version.c, version.h: NO_STRING_LITERAL_CONCATENATION support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:00 AM Revision 8fd2e126 (git): * configure.in (MAJOR, MINOR, TEENY): uses RUBY_VERSION_*.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:57 AM Bug #1143 (Closed): ruby 1.9.1p0でensure節が実行されない
=begin
Applied in changeset r22363.
=end
ko1 (Koichi Sasada)
05:41 AM Bug #1143: ruby 1.9.1p0でensure節が実行されない
=begin
 ささだです.

Jirou Iizuka wrote::
> Bug #1143: ruby 1.9.1p0でensure節が実行されない
> http://redmine.ruby-lang.org/issues/show/1143

 ありがとうございます.バグでした.

 具体的には,while/end では,break やら redo やらを行ったとき,
while/end の外の ensure 節はそのときに実行する必要はな...
ko1 (Koichi Sasada)
05:10 AM Bug #1165 (Closed): Range.eql? and Range.== bug with subclasses
=begin
Contrary to the documentation (and to what I would expect):

class TrivialRangeSubclass < Range
end

TrivialRangeSubclass.new(0,1) == Range.new(0,1) # ==> false

This bug is present in the current versions of ruby ...
marcandre (Marc-Andre Lafortune)
03:53 AM Revision b249fb0b (git): * string.c (get_arg_pat): no second parameter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:50 AM Revision 62dd7a00 (git): * string.c (rb_str_shared_replace): no need for
str_make_independent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:50 AM Revision c9524768 (git): * string.c (rb_str_shared_replace): no need for
str_make_independent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:59 AM Revision e9fae3a2 (git): merge revision(s) 20354:
* string.c (str_independent): no independent string points null_str.
[ruby-core:20082]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
02:58 AM Revision 78b4827b (git): merge revision(s) 20354:
* string.c (str_independent): no independent string points null_str.
[ruby-core:20082]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
 

Also available in: Atom