nazy (Hiroki Najima)
- Login: nazy
- Email: h.najima@gmail.com
- Registered on: 12/05/2009
- Last sign in: 08/30/2014
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 3 | 3 |
Activity
07/21/2014
-
04:10 PM Ruby Bug #10078 (Closed): String#count() returns wrong count under specific conditions
- 以下の条件の場合、String#countが誤った文字数を返します。
* 文字コードがWindows-31J (文字コード体系が違うせいか、UTF_8, ISO2022_JP, EUC_JPでは再現せず)
* countの引数が1バイト文字一つのみ
* Stringにcountに指定された文字と一致する文字コードが含まれる。
異常な例: 和は0x9861, aは0x61
~~~
>ruby -ve "puts 'a-和'.count('a')"
...
10/18/2011
-
06:20 PM Ruby Feature #5460 (Closed): Improve "CONNECT" code in net/http. (patch inclulded)
- The net/http sends "CONNECT" request when communicate https server via proxy.
At this time, net/http calls "write" each request.
This is a fair but inefficient code because it increases the system call invocation and packet fragmenta...
09/17/2010
-
03:12 AM Ruby Bug #3836: Kernel.system, spawnがスペースを含むパスで動作しない
- =begin
> 1.9.1までのWindows版固有のバグです。
たしかに、いままで動いていた方がおかしいですね。
system(commandline)の解釈を間違っていました。
the standard shellにそのまま渡すので、the standard shellの解釈により、
実質は"spa"というプログラム(実行パス)に、"ce.bat"という引数を渡すことになると理解しました。
=end
09/16/2010
-
11:26 AM Ruby Bug #3836 (Rejected): Kernel.system, spawnがスペースを含むパスで動作しない
- =begin
名島(nazy)と申します。
1.9.2からKernel.systemまたはKernel.spawnにスペースを含むコマンドを渡すと動作しなくなりました。
1.9.1および、1.8.7では動作します。
# 1.8.7にはspawnは無いのでsystemのみ
NEWSには記載されていませんでしたが、これは意図的な仕様変更でしょうか?
なお、コマンドをクオートすると動作します。
# スペースを含むプログラム
C:...