os (Shigeki OHARA)
- Login: os
- Registered on: 01/26/2020
- Last sign in: 12/25/2025
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 2 | 3 | 5 |
Activity
06/19/2024
-
08:44 AM Ruby Bug #20585 (Closed): Size of memory allocated by String.new(:capacity) is different from the specified value
- IMHO, if :capacity is specified in String.new, capa will be its value.
In fact, Ruby 3.2 seems to allocate the size as specified.
```
% cat string_capacity.rb
unless /\A3\.[23]\./ =~ RUBY_VERSION
raise NotImplementedError, 'No...
03/02/2023
-
12:56 AM Ruby Bug #19471 (Closed): Regexp::compile does not handle :timeout argument
- I think Regexp::compile is just an alias for Regexp::new, so I assume it handles the :timeout argument.
However, Regexp::compile does not seem to handle the :timeout argument properly.
```
$ irb
irb(main):001:0> RUBY_VERSION
=> "3...
02/06/2022
-
04:33 PM Ruby Feature #18573 (Open): Object#pack1
- # 概要
String#unpack1 の逆の Object#pack1 が欲しい。
# 背景
Array#pack というメソッドがありますが、レシーバーの Array の要素数が 1 つしかないことが良くあります。
``` ruby
[codepoint].pack('U')
[digest].pack('m0')
[mail_body].pack('M')
[ip_address].pack('N')
```
標準添付ライブ...
01/25/2022
-
12:23 AM Ruby Bug #18437: 3.1.0 install stucks on FreeBSD & NFS
- Oh, I see. Thanks for the fix.
I think this issue has been resolved.
# 自分で Issue 閉じれないんですね……。
01/23/2022
-
08:22 AM Ruby Bug #18437: 3.1.0 install stucks on FreeBSD & NFS
- I tried installing the latest development version of Ruby and RubyGems, and successfully completed it.
```
% rbenv install 3.2.0-dev
Cloning https://github.com/ruby/ruby.git...
Installing ruby-master...
Installed ruby-master to /h...
12/27/2021
-
03:52 AM Ruby Bug #18437 (Closed): 3.1.0 install stucks on FreeBSD & NFS
- ## 概要
FreeBSD マシンで NFS 上のホームディレクトリーへ Ruby 3.1.0 を rbenv install 3.1.0 でインストールしようとすると、
gem のインストールで処理が止まってしまいます。
## 再現手順
### 環境
* OS (NFS クライアント): FreeBSD 13.0-RELEASE-p5
* NFS サーバー: CentOS 7.9
* NFSv4
* rbenv 1.2.0-6-g304...
09/07/2020
-
04:12 AM Ruby Feature #17148: stdbuf(1) support
- なるほど、そんなやり方が……。
それだと stdbuf の有無など環境の差異を気にしなくて良さそうですね。
09/04/2020
-
09:54 AM Ruby Feature #17148 (Open): stdbuf(1) support
- # 概要
Ruby インタープリターを stdbuf(1) による stdout/stderr の出力バッファ制御に対応させたい。
# 背景
UNIX のフィルターコマンドの多くは、標準出力の先が端末かどうかによって出力バッファリングの制御を行っており、パイプを多段に繋げているとリアルタイムな出力が行われず問題になることが多々あります。
コマンドによってはバッファリング制御するオプションを設けることでバッファリングの問題を回避することができますが...