General

Profile

akr (Akira Tanaka)

  • Email: akr@fsij.org
  • Registered on: 12/11/2008
  • Last connection: 04/19/2018

Issues

Projects

Activity

04/19/2018

07:37 AM Ruby trunk Feature #14696: add optname SO_ORIGINAL_DST
SO_ORIGINAL_DST is defined in linux kernel header, not glibc header.
The provided patch defines SO_ORIGINAL_DST as...

03/15/2018

08:09 AM Ruby trunk Feature #12745: String#(g)sub(!) should pass a MatchData to the block, not a String
How about String#subm and String#gsubm ?
It is bit longer but not so long.

02/21/2018

12:26 AM Ruby trunk Bug #14400: IO#ungetc and IO#ungetbyte documentation is inconsistent with the behavior
I think it is possible to glow the IO read buffer (rbuf) if it is properly locked.
Since the IO buffer is modified...

02/20/2018

01:03 PM Ruby trunk Bug #14400: IO#ungetc and IO#ungetbyte documentation is inconsistent with the behavior
Even worse, I found an example which ungetc can not push back
a character which just returned by getc.
```
% ./r...
07:23 AM Ruby trunk Bug #14400 (Feedback): IO#ungetc and IO#ungetbyte documentation is inconsistent with the behavior
Basically, ungetbyte/ungetc works if there is enough space in the IO buffer.
Since the IO buffer is not dynamicall...

02/06/2018

05:30 AM Ruby trunk Feature #12913: A way to configure the default maximum width of pp
nobu (Nobuyoshi Nakada) wrote:
> What about this?
>
> * affects `PP.pp` and `Kernel#pp` only
> * try console win...

01/27/2018

02:24 AM Ruby trunk Bug #14391 (Assigned): Integer#digitsが遅い
02:04 AM Ruby trunk Bug #14391: Integer#digitsが遅い
厳密にいえばこの提案とは独立な話な気もしますが、
base が 2の累乗の場合は乗除算は不要で、
さらに高速に処理できるだろうと思います。
(rb_integer_pack を使える気がする)

01/24/2018

08:36 AM Ruby trunk Bug #4443: odd evaluation order in a multiple assignment
関連すると思われるささださんの昔のメールを見つけました: ruby-dev:31579
```
1) 右辺が重複しないローカル変数の列だったら今まで通り
 (副作用はないので問題ない)
2) そうじゃなければ,色々コストを...
08:22 AM Ruby trunk Bug #14240: warn four special variables: $; $, $/ $\
We discussed this issue at today's developper meeting.
We (including matz) agree produce warnings for 5 variables ...

Also available in: Atom