Activity
From 07/17/2013 to 07/23/2013
07/23/2013
-
11:08 PM Revision e93e38d1 (git): * test/-ext-/tracepoint/test_tracepoint.rb: add GC on/off to count
- GC events strictly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:11 PM Bug #8673: User rest-client PUT request core dumped
- /home/hao/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/openssl/buffering.rb:174: [BUG] Segmentation fault
ruby 2.0.0p247 (2013-06-27 revision 41674) [i686-linux]
-- Control frame information --------------------------------------------... -
10:06 PM Bug #8673 (Closed): User rest-client PUT request core dumped
- 1. use OpenSSL::X509::Certificate.new generate certificate object
2. create client = RestClient::Resource.new object
3. use client PUT request, then server crashed
code is like as below:
certificate = OpenSSL::X509::Certificate.n... -
08:23 PM Bug #8669: outbuf can be "temporarily" locked forever in IO#read
- "Glass_saga (Masaki Matsushita)" <glass.saga@gmail.com> wrote:
> Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN
I can confirm the issue under 1.9.3-p448 and 2.0.0-p247
> Following code make outbuf "temporarily" locked forever.
>... -
06:06 PM Bug #8669 (Closed): outbuf can be "temporarily" locked forever in IO#read
- Following code make outbuf "temporarily" locked forever.
It is needed to ensure rb_str_unlocktmp().
str = ""
t = Thread.new(str) do |str|
r, = IO.pipe
r.read(nil, str)
end
sleep 1
t.raise
sleep 1
str.clear #=> can't modif... -
07:11 PM Bug #8386: OpenSSL thread safety
- Maybe I fixed it.
Please check it. -
06:59 PM Bug #8386 (Closed): OpenSSL thread safety
- This issue was solved with changeset r42135.
Dirkjan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/openssl/ossl.c: use system native (system provided)
th... -
06:55 PM Bug #8672 (Third Party's Issue): Segmentation fault ruby 2.0.0p247 (2013-06-27 revision 41674) [i686-linux]
- Tried to install gitlab, following https://github.com/gitlabhq/gitlabhq/blob/master/doc/install/installation.md
At step "Initialize Database and Activate Advanced Features" with
sudo -u git -H bundle exec rake gitlab:setup RAILS_ENV=p... -
06:30 PM Feature #8671 (Closed): support SEEK_DATA and SEEK_HOLE
- SEEK_DATA and SEEK_HOLE are whences for lseek(2) supported by Linux since version 3.1.
These are useful to deal with sparse files.
I propose that ruby supports these whences.
* http://d.hatena.ne.jp/meech/20110721/1311244529
* http... -
06:18 PM Bug #8670 (Rejected): "100do" should be a syntax error
- =begin
In certain contexts, `do' adjacent to a number can be parsed as a distinct token instead of syntax error.
For example:
(({Shoes.app width: 330do end}))
=end
-
06:00 PM Revision 182cf90d (git): fix test of r42101 [Feature #6626]
- rl_delete_text removes characters in line_buffer, but it doesn't move rl_point.
Therefore it may cause invalid rl_point.
On following case, test_input_metachar causes test_insert_text failure.
(test_input_metachar_multibyte) is skipped ... -
04:40 PM Revision 46541321 (git): * include/ruby/intern.h (rb_f_lambde): restore the declaration of
- rb_f_lambda() for backword compatibility. and mark it as deprecated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:20 PM Revision 7bbe99cb (git): fix typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:18 PM Revision 03f08daf (git): * 2013-07-24
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:17 PM Revision 1a61e05d (git): it may stuck with console on readline 5.1 + CentOS 5
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:19 PM Revision 4c4347e6 (git): * ext/openssl/extconf.rb (CRYPTO_THREADID): check exist or not.
- * ext/openssl/ossl.c (ossl_thread_id): use rb_nativethread_self()
implemented at r42137 to allow threads which doesn't associated with
Ruby thread to use openssl functions.
* ext/openssl/ossl.c (Init_ossl_locks): If CRYPTO_THREADID ... -
01:55 PM Feature #8663: Officialy alias ArgumentError to ArgError
- This just saves 5 characters, but creates confusion because now many people will start to wonder what the difference is between ArgumentError and ArgError, if any.
-
12:07 AM Feature #8663 (Assigned): Officialy alias ArgumentError to ArgError - When not using custom made exceptions, I find myself using TypeError, NameError and ArgumentError the most. ArgumentError is the longest and I would like to suggest to alias it officially as ArgError.
-
12:41 PM Bug #8668 (Rejected): Net::Telnet waitfor('Waittime'=>0) may wait forever
- waitfor('Waittime'=>0) says it will not wait once the expected prompt has matched, yet if the remote end continues to send data, it will in fact wait, possibly forever.
Line 555 of net/telnet.rb (from 2.0.0) is:
until(prompt ... -
11:49 AM Revision a84ea119 (git): * bignum.c: Move functions.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:23 AM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
- (13/07/23 4:56), Joshua Ballanco wrote:
> You can already accomplish something like this yourself:
> ...
You don't need to join.
> ```ruby
> ...
-
04:59 AM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
- You can already accomplish something like this yourself:
```ruby
begin
raise "Hello!"
rescue Exception => e
puts e.backtrace.reverse.join("\n")
puts e.message
end
```
Simple!
-
11:16 AM Revision ca3f5b53 (git): * bignum.c (bary_divmod): Add special cases for x < y easily detected
- and nx == 2 && ny == 2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:50 AM Revision 4d3feac9 (git): * thread_(pthread|win32).h: rename rb_thread_cond_t to
- rb_nativethread_cond_t.
* thread.c, thread_pthread.c, thread_win32.c, vm_core.h: catch up
renaming.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:46 AM Revision b2bcef72 (git): * thread_native.h: add rb_nativethread_self() which returns
- current running native thread identifier.
* thread_[pthread|win32].c: implement rb_nativethread_self().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:38 AM Revision 2b1088c8 (git): * thread_pthread.h, thread_win32.h: rename rb_thread_id_t to
- rb_nativethread_id_t.
* thread_pthread.c, vm_core.h: use rb_nativethread_id_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:59 AM Revision 55201cac (git): * ext/openssl/ossl.c: use system native (system provided)
- thread locking APIs added by last commit.
This patch fixes [Bug #8386].
"rb_mutex_*" APIs control only "Ruby" threads.
Not for native threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42135 b2dd03c8-39d4-4d8f-98ff-823fe... -
09:58 AM Revision db22d280 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:53 AM Revision bd058912 (git): * thread_native.h: added.
- Move native thread related lines from vm_core.h.
And declare several functions "rb_nativethread_lock_*",
manipulate locking.
* common.mk: add thread_native.h.
* thread.c: add functions "rb_nativethread_lock_*".
* thraed.c, thread_[pt... -
08:44 AM Bug #8664 (Closed): open ssl not_before failure on small set of certificates
- This issue was solved with changeset r42126.
Jody, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/openssl/ossl_asn1.c (asn1time_to_time): Implement YYMMDDhh... -
08:42 AM Bug #8664: open ssl not_before failure on small set of certificates
- Unfortunately, when encoded as BER, all bets are off, as the format (with or without time zone, string representations of the time zone, ...) is not clearly specified anymore. But in this particular case I believe it makes a lot of sense...
-
08:29 AM Bug #8664: open ssl not_before failure on small set of certificates
- It seems that there are multiple ways to represent a UTCTime in ASN1, but ruby's openssl extension only implements one of them.
This patch adds the format your certificate is encoded in.
Martin, can you check it? Are there other fo... -
08:04 AM Bug #8664 (Assigned): open ssl not_before failure on small set of certificates
-
01:59 AM Bug #8664 (Closed): open ssl not_before failure on small set of certificates
- This failure only occurs on a very small percentage of certificates, during processing of ~2 million certificates, this failure only occurred 3 times. It happens on ruby-1.9.3-p448, ruby-1.8.7-p374 and ruby-2.0.0-p247 with the same error...
-
08:15 AM Bug #8665 (Closed): Examples of REXML::StreamParser#entitydecl
- This issue was solved with changeset r42125.
Ippei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rexml/streamlistener.rb: [DOC] Fix examples in
REXML::St... -
03:56 AM Bug #8665 (Closed): Examples of REXML::StreamParser#entitydecl
- REXML::StreamParser#entitydecl のドキュメントの部分が実際の動作と食い違っています。
修正は rexml-streamparser-entitydecl.patch でよいと思います。
添付した test_streamparser.rb で動作が確認できます。 -
08:03 AM Feature #8667 (Assigned): Unable to set OpenSSL GCM iv_length in Ruby
-
08:02 AM Feature #8667 (Closed): Unable to set OpenSSL GCM iv_length in Ruby - Hello,
In OpenSSL you are allowed to change the iv_length on an AES-BCM cipher. (
http://www.openssl.org/docs/crypto/EVP_EncryptInit.html#GCM_Mode) However
this was not implemented in the ruby-wrapper. Since I am a novice in C ... -
08:02 AM Bug #8666 (Closed): Unable to set OpenSSL GCM iv_length in Ruby - Hello,
In OpenSSL you are allowed to change the iv_length on an AES-BCM cipher. (
http://www.openssl.org/docs/crypto/EVP_EncryptInit.html#GCM_Mode) However
this was not implemented in the ruby-wrapper. Since I am a novice in C ... -
07:55 AM Bug #8659 (Assigned): Curses::Window#bkgdset does not handle color correctly
-
07:15 AM Revision 37421929 (git): * gc.c (gc_before_sweep): fix spacing.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:02 AM Revision 511e155e (git): * gc.c (heap_get_freeobj): clear slot->freelist here.
- This means that this slot doesn't have any free objects.
And store this slot with objspace->heap.using_slot.
* gc.c (gc_before_sweep): restore objspace->freelist
into objspace->heap.using_slot->freelist.
This means that using_slot ... -
06:01 AM Feature #8635: attr_accessor with default block
- May be thread-safety should be optional. But it definitely should be.
-
01:12 AM Revision 792b6fd8 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:37 AM Revision 3b4134ca (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:35 AM Revision 65f69855 (git): * sample/drb/README*.rdoc: [DOC] migrate DRb sample READMEs to rdoc
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:28 AM Revision 982245a6 (git): * lib/drb/invokemethod.rb: [DOC] nodoc InvokeMethod18Mixin
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
07/22/2013
-
11:44 PM Revision bdbef403 (git): * ext/openssl/ossl_asn1.c (asn1time_to_time): Implement YYMMDDhhmmZ
- format for ASN.1 UTCTime. [ruby-trunk - Bug #8664]
* test/openssl/test_asn1.rb: Test for the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:15 PM Revision d4314719 (git): * lib/rexml/streamlistener.rb: [DOC] Fix examples in
- REXML::StreamListener#entitydecl patch by Ippei Obayashi [Bug #8665]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:46 PM Revision 4c2304f0 (git): * lib/rubygems: Import RubyGems from master as of commit b165260
- * test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:16 PM Revision 66cc0fa4 (git): * bignum.c (bary_mulsub_1xN): New function.
- (bary_mul_toom3): Use bary_mulsub_1xN.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:35 PM Revision fdb991b9 (git): * bignum.c (KARATSUBA_BALANCED): New macro.
- (TOOM3_BALANCED): Ditto.
(bary_mul_balance_with_mulfunc): Use KARATSUBA_BALANCED and
TOOM3_BALANCED.
(rb_big_mul_balance): Relax a condition.
(rb_big_mul_karatsuba): Use KARATSUBA_BALANCED.
(rb_big_mul_toom3): Use TOOM3_BALANCE... -
05:55 PM Feature #8640: Add Time#elapsed to return nanoseconds since creation
- +1
Should save a lot of Time object allocations. -
04:37 PM Revision e44b8eb3 (git): merge revision(s) 41933:
- * lib/rubygems/psych_additions.rb: Ignore Psych docs here
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:36 PM Revision 2c2cb685 (git): * 2013-07-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:36 PM Revision 685e4c67 (git): * bignum.c (bigdivrem_mulsub): Extracted from bigdivrem1.
- (bigdivrem1): Use bary_add.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:36 PM Revision 14044110 (git): merge revision(s) 41857:
- * test/test_tracer.rb: catch up recent rubygems changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:33 PM Revision b264a7ac (git): * lib/rubygems: Update to RubyGems 2.0.5.
- The patch provided by drbrain (Eric Hodel). [ruby-core:55896]
[Backport #8617]
* test/rubygems: Tests for the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:13 PM Revision 65dc7d00 (git): merge revision(s) 42103: [Backport #8662]
- * vm_eval.c (eval_string_with_cref): use the given file name unless
eval even if scope is given. additional fix for [Bug #8436].
based on the patch by srawlins at [ruby-core:56099] [Bug #8662].
git-svn-id: svn+ssh:... -
02:53 PM Revision 1daf909b (git): * test/ruby/tes_io.rb (test_copy_stream_bigcontent_fpos): rename duplicated
- test method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:24 PM Revision 39b5931d (git): readline.c: $SAFE 4
- * ext/readline/readline.c (readline_s_delete_text): call rb_secure
only if level 4 is allowed. otherwise do nothing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:42 AM Revision 07809744 (git): * string.c (rb_str_enumerate_chars): specify array capa
- with str_strlen().
* string.c (rb_str_enumerate_codepoints): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:37 AM Feature #6626 (Closed): Readline.delete_text
- This issue was solved with changeset r42101.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/readline/readline.c (Init_readline): added
Readline.... -
09:03 AM Revision fa20fb37 (git): * string.c (rb_str_enumerate_chars): specify array capa.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:42 AM Revision efacdb43 (git): * ChangeLog: fix typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:37 AM Revision f775a27b (git): * string.c (rb_str_each_char_size): performance implement by
- using rb_str_length().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:56 AM Revision 265de667 (git): fix commit miss
- * ext/win32/lib/win32/importer.rb: miss to add at r41936.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:32 AM Revision 03813f6d (git): vm_eval.c: Check_TypedStruct
- * vm_eval.c (eval_string_with_cref): check by Check_TypedStruct
instead of rb_obj_is_kind_of.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:06 AM Bug #8611: Minitest encoding problems. - All right, I am no longer getting the same error since I patched it for myself, but to illustrate what I am talking about, here is another way to crash irb in basically the same way, pointing to a wider problem. It can be illustrated wit...
-
04:29 AM Revision 62b8b4df (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:21 AM Revision 8160fab8 (git): * array.c (ary_resize_capa): use RARRAY_RAWPTR() because
- this code creates no new references.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:00 AM Revision 8eb0a3cd (git): * array.c (ary_memfill): added.
- * array.c (rb_ary_initialize): use ary_memfill().
* array.c (rb_ary_fill): ditto.
* array.c (rb_ary_slice_bang): use RARRAY_RAWPTR() because
this code creates no new references.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4210... -
01:10 AM Revision 4132ac37 (git): * gc.c (gc_slot_sweep): need to add empty RVALUE as freeobj.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:48 AM Revision c7a56bd6 (git): vm_eval.c: use file argument
- * vm_eval.c (eval_string_with_cref): use the given file name unless
eval even if scope is given. additional fix for [Bug #8436].
based on the patch by srawlins at [ruby-core:56099] [Bug #8662].
git-svn-id: svn+ssh://ci.ruby-lang.or... -
12:48 AM Revision 38eb518f (git): readline.c: $SAFE
- * ext/readline/readline.c (readline_s_delete_text): $SAFE=4 is
obsolete.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:37 AM Revision 56af7427 (git): * ext/readline/readline.c (Init_readline): added
- Readline.delete_text. [ruby-dev:45789] [Feature #6626]
* ext/readline/extconf.rb: check for rl_delete_text() in Readline library.
Thanks, Nobuyoshi Nakada, for the patch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42101 b2dd03...
07/21/2013
-
07:15 PM Feature #8658: Process.clock_gettime
- While I appreciate Ruby is not always taking the lowest common denominator for functionality (fork, etc),
we need a counterpart for Windows and OS X at least.
https://github.com/copiousfreetime/hitimes does it pretty nicely and I wou... -
04:59 PM Feature #8658: Process.clock_gettime
- 2013/7/21 "Martin J. Dürst" <duerst@it.aoyama.ac.jp>:
>
> On 2013/07/19 21:32, akr (Akira Tanaka) wrote:
>
>> On LP64 systems, Fixnum can represent 2**62-1.
>> So (2**62-1)/(365.25*24*60*60*1e9)=146.1 years are representable
>> wi... -
02:53 PM Feature #8658: Process.clock_gettime
- Hello Akira,
On 2013/07/19 21:32, akr (Akira Tanaka) wrote:
> On LP64 systems, Fixnum can represent 2**62-1.
> So (2**62-1)/(365.25*24*60*60*1e9)=146.1 years are representable
> without object allocation.
>
> On ILP32 ... -
06:16 PM Revision ff777206 (git): date_parse.c: missing wday
- * ext/date/date_parse.c (rfc2822_cb): check if wday is given, since it
can be omitted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:27 PM Revision 7234f04b (git): opttest.rb: adust styles
- * sample/optparse/opttest.rb: adjust indent and block stypes. use
do/end wholly, put spaces around operators, and deep indent in
parentheses.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:17 PM Revision a1e6d554 (git): * 2013-07-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:17 PM Revision d3845ef8 (git): * bignum.c (bary_sq_fast): Refine expressions.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:13 PM Revision 5cf931d6 (git): * bignum.c (bary_mul): Use simple multiplication if yl is small.
- (rb_cstr_to_inum): Invoke bigsq instead of bigmul0.
(bigsq): Re-implemented.
(bigmul0): Invoke bigsq if two arguments are identical.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:17 AM Bug #8660 (Rejected): rb_thread_blocking_region deprecated, no alternative in ruby.h
- See ruby/thread.h.
-
05:20 AM Feature #8661 (Closed): Add option to print backtrace in reverse order (stack frames first and error last)
- Currently, the way ruby prints backtrace is that the error comes first and then the stack frames, like this:
```
Main Error Message
stack frame 1
stack frame 2
stack frame 3
.....
```
This is perfectly fine provided:
1. ... -
01:01 AM Revision a2116ef2 (git): * bignum.c (bary_mul_toom3): New function based on bigmul1_toom3.
- (bary_mul_toom3_branch): Call bary_mul_toom3.
(rb_big_mul_toom3): Ditto.
(bigmul1_toom3): Removed.
(big_real_len): Ditto.
(big_split): Ditto.
(big_split3): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42095 b2dd0...
07/20/2013
-
11:55 PM Bug #8251: Windowsにおいて、drbのテストでteardown時のkillに失敗することがある
- ruby_2_0_0 ブランチでも同様の Error が起きていたので、テストを green に保つため r42090 で workaround をバックポートしました。
-
11:14 PM Revision 92084a8b (git): * proc.c (proc_to_s): use PRIsVALUE to preserve the result encoding.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:44 PM Revision f262909c (git): * hash.c (rb_hash_flatten): use NUM2INT to raise TypeError on 32bit
- platform. it's introduced by r42039
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:41 PM Bug #8659: Curses::Window#bkgdset does not handle color correctly
- agree: not just ncurses, but any implementation of SVr4 or X/Open curses will use >8 bits for chtype.
8-bit values were for BSD-curses, which is rarely used (essentially only for antique programs). -
03:55 PM Bug #8659 (Closed): Curses::Window#bkgdset does not handle color correctly
- =begin
Colors in curses are handled as high bits on a character. Logically ORing a character with a color pair should allow bkgdset to configure a colored background. This can be seen in the source for the Python curses module. The P... -
08:05 PM Bug #8660 (Rejected): rb_thread_blocking_region deprecated, no alternative in ruby.h
- In "ruby/intern.h", the function declaration for `rb_thread_blocking_region` is deprecated. The comment says "Use rb_thread_call_without_gvl family instead", yet there are no functions from that family in the header that can be used by e...
-
07:39 PM Feature #8658: Process.clock_gettime
- kosaki (Motohiro KOSAKI) wrote:
> First, Process.times() returns user time and system time and they are process specific. But Process::CLOCK_MONOTONIC is not per-process time.
Yes. Users can choose any clock with Process.clock_gett... -
04:52 AM Feature #8658: Process.clock_gettime
- First, Process.times() returns user time and system time and they are process specific. But Process::CLOCK_MONOTONIC is not per-process time.
Second, Linux's CLOCK_MONOTONIC_RAW has the same behavior BSD's CLOCK_MONOTONIC. And, an ap... -
06:40 PM Bug #8493 (Feedback): Random Segmentation fault in sass
- 04:08 PM Revision 32ee2103 (git): * 2013-07-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:08 PM Revision f293fa8d (git): * common.mk (help): Fix environment variable name and argument.
- Actually it can also be a directory or any argument for
test/unit runner. [Fixes GH-363]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:52 PM Revision 7029875b (git): merge revision(s) 40232: [Backport #8251]
- * test/drb/drbtest.rb (Drb{Core,Ary}#teardown): retry Process.kill
if it fails with Errno::EPERM on Windows (workaround).
[ruby-dev:47245] [Bug #8251]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@... -
02:45 PM Revision 3207cfce (git): merge revision(s) 40334: [Backport #8149]
- * iseq.c (iseq_location_setup): re-use existing string when iseq has
the same path and absolute_path. [Bug #8149]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:22 PM Revision 3cdf8cf9 (git): merge revision(s) 41466:
- envutil.rb: keyword arguments
* test/ruby/envutil.rb (invoke_ruby, assert_normal_exit),
(assert_in_out_err, assert_ruby_status, assert_separately): use
keyword arguments so that optional parameters can be omitted.
git-svn-i... -
01:46 PM Revision d0fd9aa2 (git): * common.mk: Document running a single test [Fixes GH-363]
- Patch by Avdi Grimm https://github.com/ruby/ruby/pull/363
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:41 PM Revision b4489ae9 (git): * sample/*: whitespace patch by Sergio Campama [Fixes GH-364]
- https://github.com/ruby/ruby/pull/364
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:34 PM Revision 368cecc1 (git): * doc/regexp.rdoc: [DOC] Fix typo in example [Fixes GH-365]
- Patch by Juanito Fatas https://github.com/ruby/ruby/pull/365
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:32 PM Revision abfb7b35 (git): Update a comment for Toom3.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:14 PM Bug #8653 (Closed): Unexpected result of String#succ with utf-16 and utf-32 string.
- This issue was solved with changeset r42078.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
string.c: wchar succ
* string.c (enc_succ_char, enc_pred_char)... -
09:10 AM Revision f685b401 (git): rename a() to b() and define a() for US-ASCII
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:10 AM Revision 42bf8994 (git): * string.c (rb_str_succ): add missing case NEIGHBOR_WRAPPED.
- r42078 caused buggy behavior like "\xFF".b -> "\x01\xFF".b
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:24 AM Revision 3a202870 (git): * array.c (rb_ary_resize): use simple memcpy because there are no new
- references.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:02 AM Revision a4fefc95 (git): safe.c: ruby_safe_level_4_warning
- * safe.c (ruby_safe_level_4_warning): define for old extension
libraries. [Bug #8652]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:39 AM Revision 45e8268d (git): * array.c (ary_make_shared): make shared array shady.
- Making non-shady shared array causes SEGV (see rubyci).
It seems a bug around shared array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:14 AM Revision e6a6dd8e (git): string.c: wchar succ
- * string.c (enc_succ_char, enc_pred_char): consider wchar case.
[ruby-core:56071] [Bug #8653]
* string.c (rb_str_succ): do not replace with invalid char.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42078 b2dd03c8-39d4-4d8f-98ff... -
03:13 AM Revision 241ad887 (git): encoding.c: add rb_enc_code_to_mbclen
- * encoding.c (rb_enc_code_to_mbclen): add new function which returns
mbclen from codepoint like as rb_enc_codelen() but 0 for invalid
char.
* include/ruby/encoding.h (rb_enc_code_to_mbclen): declaration and
shortcut macro.
git-sv... - 02:27 AM Revision b36cbe28 (git): * 2013-07-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:27 AM Revision 13408170 (git): test_io.rb: split test_copy_stream
- * test/ruby/test_io.rb (TestIO#test_copy_stream): split huge test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
07/19/2013
-
10:14 PM Feature #8640: Add Time#elapsed to return nanoseconds since creation
- rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> You're right, Matthew, although I'd appreciate some bookmark capabilities... But I understand it would be more costly since you'd need to malloc and free the struct everytime a bookmark is cr... -
08:46 PM Feature #8640: Add Time#elapsed to return nanoseconds since creation
- You're right, Matthew, although I'd appreciate some bookmark capabilities... But I understand it would be more costly since you'd need to malloc and free the struct everytime a bookmark is created...
Tanaka, I believe most people are ... -
10:23 AM Feature #8640: Add Time#elapsed to return nanoseconds since creation
- 2013/7/19 phluid61 (Matthew Kerwin) <matthew@kerwin.net.au>:
> Actually the supplied patch uses clock_gettime(CLOCK_REALTIME), which is already the C equivalent of System.currentTimeMillis(). The only issue is that it allocates a Ti... -
08:00 AM Feature #8640: Add Time#elapsed to return nanoseconds since creation
- rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> Em 18-07-2013 03:03, Aaron Patterson escreveu:
> ...
Actually the supplied patch uses clock_gettime(CLOCK_REALTIME), which is already the C equivalent of System.currentTimeMillis(). The onl... -
09:32 PM Feature #8658 (Closed): Process.clock_gettime
- How about adding a new method, Process.clock_gettime(clk_id) ?
Recently there were two feature request for measuring time.
Feature #8640 https://bugs.ruby-lang.org/issues/8640
Feature #8096 https://bugs.ruby-lang.org/issues/8096
... -
07:52 PM Feature #8657 (Closed): Make Find.find respect the encodings of arguments
- =begin
== 概要
Find.findが返すパス名は常にfilesystem encodingとなっていますが
任意のencodingを指定できるようにすることを提案します。
== ユースケース
日本語Windowsではfilesystem encodingはWindows-31Jとなっています。
このため、Windows-31Jに存在しない文字を含むファイル名があった場合に
正しいパス名を取得できないという問題が起きます。
D:\>... -
01:43 PM Bug #8656 (Closed): Cannot Build Ruby-Tk
- This issue was solved with changeset r42059.
Alex, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/tk/extconf.rb: Default search_versions are set 8.5 and 8.4 ... -
11:48 AM Bug #8656 (Closed): Cannot Build Ruby-Tk
- I am using NetBSD's pkgsrc, and I cannot build ruby-tk because of a typo in ext/tk/extconf.rb. More information is available here: http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=48064
>Fix:
--- /pkgsrc/x11/ruby-tk/work/rub... -
01:31 PM Revision db16068c (git): gc.c: suppress warning
- * gc.c (heap_assign_slot): suppress implicit conversion warning.
delta is not greater than sizeof(RVALUE).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:00 PM Revision 79d557ff (git): * gc.c: declare type_name() at the beggining of file.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:56 PM Revision 6e3c4fd8 (git): * array.c: reduce shady operations.
- * array.c (rb_ary_modify, ary_make_partial, rb_ary_splice,
rb_ary_replace, rb_ary_eql, rb_ary_compact_bang):
use RARRAY_RAWPTR() instead of RARRAY_PTR().
* array.c (rb_ary_shift): use RARRAY_PTR_USE() without WB because
there are n... -
12:12 PM Revision 8d8ead14 (git): * array.c: reduce shade operations.
- * array.c (rb_ary_modify): use RARRAY_RAWPTR().
* array.c (ary_make_substitution, rb_ary_s_create, ary_make_partial,
rb_ary_splice, rb_ary_resize, rb_ary_rotate_m, rb_ary_times):
use ary_memcpy().
git-svn-id: svn+ssh://ci.ruby-lan... -
11:08 AM Revision 9cc7f5f8 (git): * array.c (ary_mem_clear): added. This operation doesn't need WB
- because this operation creates a reference to Qnil.
* array.c (ary_make_shared, rb_ary_store, rb_ary_shift_m,
rb_ary_splice, rb_ary_resize, rb_ary_fill): use ary_mem_clear()
instead of rb_mem_clear().
* array.c (ary_make_shared): use... -
10:57 AM Revision cd868926 (git): Suppress warnings.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:29 AM Revision 33fc365f (git): Suppress warnings.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:19 AM Revision a6e1e3d6 (git): * array.c: fix commit miss.
- RGENGC_UNPROTECT_LOGGING should be 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:16 AM Revision 5ef247aa (git): * array.c (rb_ary_resurrect): use RARRAY_RAWPTR() because there is no
- writing.
* array.c (rb_ary_new_from_values): use ary_memcpy().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:10 AM Revision 01bf4952 (git): * array.c (ary_memcpy): add a function to copy VALUEs into ary
- with write barrier. If ary is promoted, use write barrier correctly.
* array.c (rb_ary_cat, rb_ary_unshift_m, rb_ary_dup,
rb_ary_sort_bang, rb_ary_replace, rb_ary_plus): use ary_memcpy().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/... -
10:02 AM Bug #8644 (Assigned): valgrind error in a readline test
-
06:34 AM Revision 77887cf0 (git): * array.c (rb_ary_store): use RARRAY_PTR_USE() intead of RARRAY_PTR().
- Clearing memory space doesn't need WBs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:21 AM Revision b9b5a2cc (git): * array.c (ary_ensure_room_for_push): use RARRAY_RAWPTR() instead of
- RARRAY_PTR. In this code, there are no "write" operation.
* array.c (rb_ary_equal): ditto.
* array.c (recursive_equal): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:11 AM Revision 344835a7 (git): * gc.c, internal.h (rb_gc_writebarrier_remember_promoted): add a new
- function to remember an specified object. This api is only
experimental (strongly depend on WB/rgengc strategy).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:00 AM Revision 8e5374d0 (git): * array.c (ary_unprotect_logging): use (void *) for first parameter
- because VALUE is not defined before including ruby/ruby.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:21 AM Revision 854520fc (git): * ext/pathname/pathname.c (path_inspect): use PRIsVALUE to preserve
- the result encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:43 AM Revision e31da2df (git): * ext/tk/extconf.rb: Default search_versions are set 8.5 and 8.4 only. At present, Tcl/Tk8.6 is not supported.
- * ext/tk/extconf.rb: Fix typo. [ruby-core:56084] [Bug #8656]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:40 AM Revision 8dd4a3c6 (git): * dir.c: [DOC] add docs for :encoding option.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:35 AM Revision e9c04509 (git): * test/socket/test_tcp.rb (test_initialize_failure): Use EADDRNOTAVAIL
- to test an error message generated by bind() failure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:06 AM Revision 028d67b9 (git): Fix a typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:28 AM Revision 736a429d (git): * lib/racc/parser.rb: [DOC] Capitalize "Ruby" in documentation
- Patch by Dave Worth https://github.com/ruby/ruby/pull/341
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:27 AM Revision 826df7f2 (git): * ext/psych/lib/psych*: [DOC] Capitalize "Ruby" in documentation
- Patch by Dave Worth https://github.com/ruby/ruby/pull/341
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:26 AM Revision b19a968f (git): * lib/rdoc/*: [DOC] Capitalize "Ruby" in documentation
- Patch by Dave Worth https://github.com/ruby/ruby/pull/341
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:24 AM Revision 757dee12 (git): * lib/rubygems*: [DOC] Capitalize "Ruby" in documentation
- Patch by Dave Worth https://github.com/ruby/ruby/pull/341
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:22 AM Revision ad78cf4e (git): Define Set#to_set so that aSet.to_set returns self.
- * lib/set.rb (Set#to_set): Define Set#to_set so that aSet.to_set
returns self. [Fixes GH-359]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:12 AM Revision 74201103 (git): * lib/rake/*: [DOC] Capitalize "Ruby" in documentation
- Patch by Dave Worth https://github.com/ruby/ruby/pull/341
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:07 AM Bug #8655 (Closed): シンボル名 Init_pack が複数ファイルで定義されている
- This issue was solved with changeset r42049.
Naohisa, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/-test-/bignum/intpack.c: Renamed from ext/-test-/bignum/... -
12:55 AM Bug #8654 (Closed): SEGV in Array#count
- This issue was solved with changeset r42047.
Masaki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/ruby/test_array.rb (test_count): add a test case for #co...
07/18/2013
-
11:23 PM Feature #8640: Add Time#elapsed to return nanoseconds since creation
- Also, as a side effect, this new class could have methods like
nanoseconds_ellapsed, and seconds_ellapsed and the like.
Also, it could bookmark some parts of the code. Example:
time_recording = Benchmark.start
some_code
time_r... -
10:53 PM Feature #8640: Add Time#elapsed to return nanoseconds since creation
- Em 18-07-2013 03:03, Aaron Patterson escreveu:
>> In that case, would #8096 be a better proposal? Since that one doesn't even allocate a Time object.
> I don't think so. We need subsecond resolution, which (if we used
> #8096) woul... -
03:23 PM Feature #8640: Add Time#elapsed to return nanoseconds since creation
- On Thu, Jul 18, 2013 at 07:59:34AM +0900, phluid61 (Matthew Kerwin) wrote:
>
> Issue #8640 has been updated by phluid61 (Matthew Kerwin).
>
>
> tenderlovemaking (Aaron Patterson) wrote:
> > On Wed, Jul 17, 2013 at 01:04:3... -
07:59 AM Feature #8640: Add Time#elapsed to return nanoseconds since creation
- tenderlovemaking (Aaron Patterson) wrote:
> On Wed, Jul 17, 2013 at 01:04:37PM +0900, phluid61 (Matthew Kerwin) wrote:
> ...
In that case, would #8096 be a better proposal? Since that one doesn't even allocate a Time object. -
02:59 AM Feature #8640: Add Time#elapsed to return nanoseconds since creation
- On Wed, Jul 17, 2013 at 01:04:37PM +0900, phluid61 (Matthew Kerwin) wrote:
>
> Issue #8640 has been updated by phluid61 (Matthew Kerwin).
>
>
> nobu (Nobuyoshi Nakada) wrote:
> > You propose the method not to take any ar... -
11:02 PM Bug #8644: valgrind error in a readline test
- とりあえず、close されたかどうかは元々の IO オブジェクトが
close されたかどうかで判断するようなパッチを書いてみたんですが、
どうですかね。
なお、やってみて気がついたのですが、
isatty して EBADF になることを確認するというコードがあって、
しかも Readline.readline のドキュメントにその挙動が
* Raises IOError exception if below conditions are sati... -
07:49 PM Bug #8644: valgrind error in a readline test
- 調べてみると、テストにある、Readline.output に設定した
IO オブジェクトを close した場合だけでなく、
Readline.input に設定した IO オブジェクトを close した場合にも
Invalid read が起こるようです。
以下のようにして確認できます。
% valgrind ./ruby -rreadline -e '
r, w = IO.pipe
Readline.input = r
Rea... -
05:41 PM Bug #8644: valgrind error in a readline test
- SEGV のログは長すぎたので issue の本文からは消しました。
-
08:41 PM Bug #8654 (Open): SEGV in Array#count
- Reopening for backport.
(The fix will need to be a bit different as there is no RARRAY_AREF() in older versions). -
08:38 PM Bug #8654 (Closed): SEGV in Array#count
- This issue was solved with changeset r42041.
Masaki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* array.c (rb_ary_count): check length to avoid SEGV
while it... -
08:25 PM Bug #8654: SEGV in Array#count
- Glass_saga (Masaki Matsushita) wrote:
> > What do you think of this patch?
> ...
Ah, I should have looked the newest commits.
It might be worth adding the second change to avoid the pointer loop (seems about the only one in array.c)... -
08:18 PM Bug #8654: SEGV in Array#count
- I confirmed it is reproducible on the both head revisions of ruby_1_9_3 and ruby_2_0_0.
-
08:15 PM Bug #8654: SEGV in Array#count
- > What do you think of this patch?
I already fixed it on r42040, but this ticket hasn't been closed because I have commited it with wrong commit message.
It's my fault.
However, I will add your test code.
Thank you for your patch, -
07:50 PM Bug #8654: SEGV in Array#count
- What do you think of this patch?
I am not sure assert_in_out_err is good for segfaults checks,
but I could not reproduce so reliably when removing the "p i". -
06:02 PM Bug #8654 (Closed): SEGV in Array#count
- Following code causes SEGV.
a1 = []
a2 = Array.new(100) {|i| i }
a2.count do |i|
p i
a2.replace(a1) if i == 0
end -
07:51 PM Bug #8653: Unexpected result of String#succ with utf-16 and utf-32 string.
- I understand String#succ is not easy for UTF-16LE encoded string.
In case of UTF-16 or UTF-32 string, it is possible to convert it to UTF-8 string and get succ value and revert it to the original encoding.
Here is a draft patch for... -
06:23 PM Bug #8653: Unexpected result of String#succ with utf-16 and utf-32 string.
- 2013/7/18 phasis68 (Heesob Park) <phasis@gmail.com>:
> Bug #8653: Unexpected result of String#succ with utf-16 and utf-32 string.
> https://bugs.ruby-lang.org/issues/8653
> I found the result of String#succ of UTF-16LE encoded ... -
05:51 PM Bug #8653 (Closed): Unexpected result of String#succ with utf-16 and utf-32 string.
- I found the result of String#succ of UTF-16LE encoded string is incorrect.
As a result, Range of UTF-16LE encoded string show some unexpected behavior.
C:\work>irb
irb(main):001:0> a = 'A'.encode('UTF-16LE')
=> "A"
irb(main):... -
06:25 PM Bug #8655 (Closed): シンボル名 Init_pack が複数ファイルで定義されている
- Solarisにて、make test-all すると、以下のエラーが出てテストが実行できません。
% make test-all
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems "./test/runner.rb" --ruby="./miniruby -I./lib -I. -I.ext/common ./tool/runrub... -
04:07 PM Revision ccdc9ecf (git): * ext/-test-/bignum/intpack.c: Renamed from ext/-test-/bignum/pack.c.
- (Init_intpack): Renamed from Init_pack.
Reported by Naohisa Goto. [ruby-dev:47526] [Bug #8655]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:55 PM Revision c306d817 (git): * 2013-07-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:55 PM Revision 632b85a3 (git): * test/ruby/test_array.rb (test_count): add a test case for #count
- with an argument. See Bug #8654.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:45 PM Bug #8652 (Closed): gem で rb_secure(4) を使用するとビルドエラーとなる
- This issue was solved with changeset r42037.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
ruby.h: error only in the core
* include/ruby/ruby.h (RUBY_SA... -
02:59 PM Bug #8652: gem で rb_secure(4) を使用するとビルドエラーとなる
- naruse (Yui NARUSE) wrote:
> > rb_secure(4)は$SAFEを4以上にセットするものではなく、$SAFEが4以上にセットされている時にSecurityErrorを発生されるものです。
> ...
了解です。
> * rb_set_safe_level() がコンパイル時にエラーになるのはそのまま
> ...
はい、警告あたりが妥当だと思います。
どうでしょうか? > なかださん -
02:52 PM Bug #8652: gem で rb_secure(4) を使用するとビルドエラーとなる
- shugo (Shugo Maeda) wrote:
> naruse (Yui NARUSE) wrote:
> ...
おぉ、仰るとおり混同していました。
* rb_set_safe_level() がコンパイル時にエラーになるのはそのまま
* rb_secure(4) はコンパイル時にはエラーにしない → 事実上何もしない
とするべき、という話ですね。
んー、わたしは間とって rb_secure(4) にコンパイル時 warning 派かなぁ。 -
02:49 PM Bug #8652: gem で rb_secure(4) を使用するとビルドエラーとなる
- > なぜこけた方がよいと思いますか?
なるせさんと同じ理由でしたが、rb_secure の挙動がそれなら(勘違いでした)エラーにならない方が良いと思えてきました。 -
02:46 PM Bug #8652: gem で rb_secure(4) を使用するとビルドエラーとなる
- naruse (Yui NARUSE) wrote:
> > > linux で ruby-fcgi(https://github.com/saks/ruby-fcgi) という rb_secure(4) を使っている gem を trunk でコンパイルしようと失敗してしまいます。
> ...
はい、そう思います。
> > 個人的には、$SAFEを4以上にセットするコードはエラーにすべきですが、rb_secure(4)のようなコードはビルドできた方がよいと考... -
02:38 PM Bug #8652: gem で rb_secure(4) を使用するとビルドエラーとなる
- ビルドがこけるので良い気がしています。
柴田さんがなぜコケるという事でバグレポートを上げているのか気になります。
意図的な変更だと思っていなかったのか、あるいはコケると何か問題があるという事だと思うのですが、
後者だとしたら具体的に何なのか分かると良いのかなと。 -
02:30 PM Bug #8652: gem で rb_secure(4) を使用するとビルドエラーとなる
- shugo (Shugo Maeda) wrote:
> hsbt (Hiroshi SHIBATA) wrote:
> ...
コンパイルエラーメッセージの通り、その意図の是非はおいておいて、意図的なものですね。
> 個人的には、$SAFEを4以上にセットするコードはエラーにすべきですが、rb_secure(4)のようなコードはビルドできた方がよいと考えています。
実行時にエラーでこけるより、コンパイル時にこけたほうが早く気付けて良いのではないですか? -
01:46 PM Bug #8652 (Assigned): gem で rb_secure(4) を使用するとビルドエラーとなる
- hsbt (Hiroshi SHIBATA) wrote:
> linux で ruby-fcgi(https://github.com/saks/ruby-fcgi) という rb_secure(4) を使っている gem を trunk でコンパイルしようと失敗してしまいます。
blameしたところなかださんがr41273で変更されているようです。
個人的には、$SAFEを4以上にセットするコードはエラーにすべきですが、rb_secure(4)のようなコー... -
01:28 PM Bug #8652 (Closed): gem で rb_secure(4) を使用するとビルドエラーとなる
- linux で ruby-fcgi(https://github.com/saks/ruby-fcgi) という rb_secure(4) を使っている gem を trunk でコンパイルしようと失敗してしまいます。
$ make
compiling fcgi.c
(snip)
fcgi.c:231:3: エラー: call to ‘ruby$safe_level$4’ declared with attribute error: $SAFE=4 ... -
02:47 PM Revision 2de786d4 (git): * array.c (rb_ary_eql): compare RARRAY_PTR() for performance
- improvement in case of that self and other are shared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:50 PM Revision c366a99c (git): * lib/cgi.rb: [DOC] Capitalize "Ruby" in documentation [Fixes GH-341]
- Patch by Dave Worth https://github.com/ruby/ruby/pull/341
* lib/webrick.rb: ditto
* lib/scanf.rb: ditto
* lib/xmlrpc/config.rb: ditto
* lib/resolv.rb: ditto
* lib/e2mmap.rb: ditto
* lib/fileutils.rb: ditto
* lib/mkmf.rb: ditto
* lib/cgi/... -
12:58 PM Revision 2314c1bf (git): * bignum.c (bary_sq_fast): Specialize the last iteration of the
- outer loop.
(bigfixize): A condition simplified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:21 PM Revision 4595d9a3 (git): * array.c (rb_ary_equal): compare RARRAY_PTR() for performance
- improvement in case of that self and other are shared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:51 AM Revision e07e814e (git): * array.c (rb_ary_fill): use memfill().
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:38 AM Revision e1335a30 (git): * array.c (rb_ary_count): check length to avoid SEGV
- while iterating. Remove other pointer loop when arg is given.
* test/ruby/test_array.rb (test_count): add test for bug.
[ruby-core:56072] [Bug #8654]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42041 b2dd03c8-39d4-4d8f-98ff-823f... -
11:30 AM Bug #8651 (Rejected): /[#$]/ causes syntax error
- =begin
On ruby 1.9.3-p448, a regular expression (({/[#$]/})) (character class which contains two characters, (({#})) and (({$}))) causes
syntax error, unexpected $undefined.
Ruby 2.0 accepts this and (({Regexp.new('[#$]')})) i... -
09:18 AM Revision 6f49bc63 (git): * hash.c (rb_hash_flatten): performance improvement by not using
- rb_hash_to_a() to avoid array creation with rb_assoc_new().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:48 AM Revision 852caed8 (git): * hash.c (rb_hash_flatten): performance improvement by not using
- rb_hash_to_a() to avoid array creation with rb_assoc_new().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:18 AM Revision faa9d5ec (git): * array.c: add logging feature for RGenGC's write barrier unprotect
- event.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:45 AM Revision 862bad2d (git): ruby.h: error only in the core
- * include/ruby/ruby.h (RUBY_SAFE_LEVEL_CHECK): make only
rb_set_safe_level(4) an error always but make rb_secure(4) an error
only in the core. [ruby-dev:47517] [Bug #8652]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42037 b2d... -
06:42 AM Revision 6795b09f (git): * include/ruby/ruby.h: fix spell miss.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:26 AM Feature #8643: Add Binding.from_hash
- I don't mind on it being a local var in the binding since it should work either way, just an implementation detail I'd say... Maybe other Ruby implementations might prefer to use them as methods?
-
06:11 AM Revision 0ef059b2 (git): ruby.h: no $
- * include/ruby/ruby.h (ruby_safe_level_4): get rid of special
character. [ruby-dev:47512] [misc #8646]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:54 AM Revision 6429bbad (git): * array.c (ary_alloc): slim setup process.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:39 AM Revision 74974529 (git): * string.c (str_alloc): no need to clear RString (already cleared).
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:00 AM Revision 80afc9b2 (git): * bignum.c (BDIGITS_ZERO): Defined.
- (bary_pack): Use BDIGITS_ZERO.
(bary_unpack): Ditto.
(bary_mul_single): Ditto.
(bary_mul_normal): Ditto.
(bary_sq_fast): Ditto.
(bary_mul_balance_with_mulfunc): Ditto.
(bary_mul_precheck): Ditto.
(bary_mul_toom3_branch): Di... -
01:06 AM Bug #8641: Enumerator size argument is either mis-documented or should accept any callable
- Thanks Marc. Because I really really want to learn how to do this stuff, I went ahead cargo-culted a fix here: https://github.com/ruby/ruby/pull/362
This is my very first attempt at hacking Ruby C code. I don't expect this to be merge...
07/17/2013
- 11:19 PM Revision 7d9bae8b (git): * 2013-07-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:19 PM Revision 5c088cf7 (git): * gc.c: rename gc related functions with prefix "gc_".
- * before_gc_sweep() -> gc_before_sweep().
* after_gc_sweep() -> gc_after_sweep().
* lazy_sweep() -> gc_lazy_sweep().
* rest_sweep() -> gc_rest_sweep().
* slot_sweep() -> gc_slot_sweep().
* gc.c: rename a heap management f... -
10:51 PM Bug #8641: Enumerator size argument is either mis-documented or should accept any callable
- > Instinctively I'd say that the documentation has it right and it ought to take any callable.
Agreed, I'll address this.
Thanks -
05:12 PM Feature #8649 (Closed): Make ENV.fetch KeyError give key name in error message.
- This issue was solved with changeset r42025.
Matthew, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
hash.c: key name in error message
* hash.c (env_fetch): Add k... -
02:10 PM Feature #8649 (Closed): Make ENV.fetch KeyError give key name in error message.
- The KeyError raised by ENV.fetch('test') when the 'test' key does not exist does not give the name of the key in the error message.
This patch makes it give a better error message and behave like Hash.fetch.
-
01:59 PM Revision b30eb0fa (git): * hash.c (delete_if_i): use ST_DELETE.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:53 PM Revision 15f7c7f9 (git): * bignum.c: An static assertion for relation of SIZEOF_LONG and
- SIZEOF_BDIGITS is added.
(bary_mul_precheck): Reduce comparisons.
(bary_mul): Invoke bary_sq_fast or bary_mul1 if the bignum size is
small.
(bigfixize): Resize the argument bignum here.
(bignorm): Don't call bigtrunc after bigf... -
01:17 PM Revision 7c1a2f61 (git): * hash.c (rb_hash_replace): performance improvement by using
- st_copy().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:04 PM Feature #8640: Add Time#elapsed to return nanoseconds since creation
- nobu (Nobuyoshi Nakada) wrote:
> You propose the method not to take any arguments?
> ...
Since the discussion has moved towards defining two separate methods {#elapsed => (float)s and #elapsed_nanoseconds => (int)ns} I do prefer a key... -
12:23 PM Feature #8640: Add Time#elapsed to return nanoseconds since creation
- (13/07/16 20:37), phluid61 (Matthew Kerwin) wrote:
> nobu (Nobuyoshi Nakada) wrote:
>> phluid61 (Matthew Kerwin) wrote:
>>
>>> I wouldn't complain if there was a kwarg, although I'm not sure which way it should switch: time_obj... -
10:23 AM Feature #8640: Add Time#elapsed to return nanoseconds since creation
- Hello Aaron,
On 2013/07/17 1:46, Aaron Patterson wrote:
> Hi Martin,
>
> On Tue, Jul 16, 2013 at 03:24:36PM +0900, duerst (Martin Dürst) wrote:
>>
>> Issue #8640 has been updated by duerst (Martin Dürst).
>>
>>
>> I think thi... -
07:59 AM Feature #8640: Add Time#elapsed to return nanoseconds since creation - On Wed, Jul 17, 2013 at 04:04:42AM +0900, charliesome (Charlie Somerville) wrote:
>
> Issue #8640 has been updated by charliesome (Charlie Somerville).
>
>
> I'll echo what everyone else has said above by saying that I'm st... -
04:04 AM Feature #8640: Add Time#elapsed to return nanoseconds since creation - I'll echo what everyone else has said above by saying that I'm strongly against #elapsed returning nanoseconds. I'm happy with #elapsed_nanoseconds returning nanoseconds as an Integer, and #elapsed returning seconds as a Float though.
-
11:08 AM Feature #8601: Win32API.rb long life plan
- Win32API.rb should be removed at 2.1.0.
-
11:05 AM Feature #7106 (Open): FileUtils.touch should allow touching the symlink itself rather than the file the link points to
- Ah, I take charge of Windows versions, but I cannot judge whether we should accept this feature request or not.
fileutils doesn't have the maintainer now, can someone judge it? -
10:20 AM Bug #8575: Crash in openssl verify_certificate_identity
- backported to 1.9.3 at r42016.
-
08:52 AM Feature #8648 (Closed): unuse special global variable in erb/cgi methods
- This issue was solved with changeset r42013.
Takeyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/erb.rb (ERB::Util#url_encode): Unuse regexp special glo... -
07:54 AM Feature #8648 (Closed): unuse special global variable in erb/cgi methods
- reference [Bug #8612]
the scope of regexp special global variable is changed from 2.0 to trunk.
I think better some methods should not use special global variable.
-
08:25 AM Revision a3b6aeba (git): * gc.c: rename heap management functions with prefix "heap_".
- * allocate_sorted_array() -> heap_allocate_sorted_array().
* slot_add_freeobj() -> heap_slot_add_freeobj().
* assign_heap_slot() -> heap_assign_slot().
* add_heap_slots() -> heap_add_slots().
* init_heap() ->... -
08:12 AM Revision c9118e2a (git): hash.c: key name in error message
- * hash.c (env_fetch): Add key name to message on ENV.fetch KeyError,
as well as Hash#fetch. [ruby-core:56062] [Feature #8649]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:42 AM Bug #8612 (Rejected): nil in ERB::Util.url_encode
- This is not a bug.
Because implemented string class is not supported.
But I think this proposal is good.
I will merge to trunk.
Thank you. -
07:01 AM Revision caa14925 (git): * gc.c: catch up last changes for debugging/checking mode.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:52 AM Revision 9860c846 (git): * gc.c (rb_objspace_free): free slot itself.
- * gc.c (objspace_each_objects): fix condition.
Use slot->body instead of slot.
* gc.c (count_objects): use "slot" variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:24 AM Revision fa014681 (git): * gc.c (unlink_heap_slot): fix memory leak.
- free slot itself at free_heap_slot().
Reproduce-able code is here:
N1 = 100_000; N2 = 1_000_000
N1.times{ary = []; N2.times{ary << ''}}
Maybe this problem is remaining in Ruby 2.0.0.
* gc.c (unlink_heap_slot): remove not working ... -
05:55 AM Revision 79d9c8ac (git): * gc.c: re-design the heap structure.
- (1) The heap is consists of a set of slots.
(2) Each "slot" has a "slot_body".
slot::start and slot::limit specify RVALUE beginning address
and number of RVALUE in a "slot_body".
(3) "slot_body" contains a pointer to slot (slot_b... -
04:34 AM Revision fd920505 (git): * gc.c: fix heaps_header and heaps_slot to reduce memory consumption.
- (1) move heaps_header::start and limit to heaps_slot.
(2) remove heaps_header::end which can be calculated by start+limit.
* gc.c: catch up above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42020 b2dd03c8-39d4-4d8f-98... -
04:10 AM Feature #8643: Add Binding.from_hash - PS: I'm neutral towards this feature. I've got no strong feelings that it should or shouldn't be part of Ruby.
-
04:09 AM Feature #8643: Add Binding.from_hash - Personally I think hash keys should be local variables in the binding, not method calls against self.
It's hard to express this in Ruby, but this can easily be done from the C side. -
03:31 AM Revision f44eeda9 (git): * include/ruby/st.h (st_strcasecmp): Macro defined for compatibility.
- (st_strncasecmp): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:02 AM Revision 99285bcd (git): ChangeLog: Update r42013 r42014.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:22 AM Bug #8647 (Closed): Unused variable "id" in ssl.rb
- Hi Daniel, thanks for mentioning it! Somebody else noticed it as well, in #8582 :)
-
01:58 AM Bug #8647 (Closed): Unused variable "id" in ssl.rb
- Saw this, thought I should mention it.
c:/Ruby2/lib/ruby/2.0.0/openssl/ssl.rb:101: warning: assigned but unused variable - id - 02:01 AM Revision 297ac0a6 (git): merge revision(s) 36265: [Backport #8580]
- * ext/date/date_core.c: [ruby-core:46058].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@42017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:19 AM Revision ce8c46b4 (git): merge revision(s) 41805: [Backport #8575]
- * lib/openssl/ssl.rb: Fix SSL client connection crash for SAN marked
critical.
The patch for CVE-2013-4073 caused SSL crash when a SSL server returns
the certificate that has critical SAN value. X509 extens... - 01:10 AM Revision 347e8c44 (git): merge revision(s) 41077,41105: [Backport #8578]
- * ext/date/date_core.c: fixed a bug [ruby-core:55295]. reported
by Riley Lynch.
* ext/date/date_core.c: fixed coding error [ruby-core:55337].
reported by Riley Lynch.
git-svn-id: svn+ssh://ci.ruby-lang.org... -
12:35 AM Feature #8635: attr_accessor with default block
- Just adding some prior art...
There have been many, many takes on this in various gems, but I thought I'd drop in a note about https://github.com/ahoward/fattr, which is my personal favorite and a gem I've used happily for many years....