[#30679] IO.popen doesn't fail for non-existent command — nobu@...
なかだです。
4 messages
2007/04/03
[#30681] IO.popen("-") with no fork — Nobuyoshi Nakada <nobu@...>
なかだです。
13 messages
2007/04/03
[#30685] Re: IO.popen("-") with no fork
— "U.Nakamura" <usa@...>
2007/04/04
こんにちは、なかむら(う)です。
[#30686] Re: IO.popen("-") with no fork
— Yukihiro Matsumoto <matz@...>
2007/04/04
Hi,
[#30687] Re: IO.popen("-") with no fork
— Nobuyoshi Nakada <nobu@...>
2007/04/04
なかだです。
[#30688] Re: IO.popen("-") with no fork
— Yukihiro Matsumoto <matz@...>
2007/04/04
まつもと ゆきひろです
[#30722] JSON ライブラリの取り込み — "NARUSE, Yui" <naruse@...>
naruseです。
20 messages
2007/04/21
[#30723] Re: JSON ライブラリの取り込み
— "Akinori MUSHA" <knu@...>
2007/04/21
At Sat, 21 Apr 2007 12:27:47 +0900,
[#30724] Re: JSON ライブラリの取り込み
— "NAKAMURA, Hiroshi" <nakahiro@...>
2007/04/21
-----BEGIN PGP SIGNED MESSAGE-----
[#30729] Re: Ruby 1.9: multiple splats on rvalues in parallel assignment — SASADA Koichi <ko1@...>
ささだです.
6 messages
2007/04/26
[#30730] Re: Ruby 1.9: multiple splats on rvalues in parallel assignment
— Yukihiro Matsumoto <matz@...>
2007/04/26
まつもと ゆきひろです
[ruby-dev:30685] Re: IO.popen("-") with no fork
From:
"U.Nakamura" <usa@...>
Date:
2007-04-04 02:19:02 UTC
List:
ruby-dev #30685
こんにちは、なかむら(う)です。
In message "[ruby-dev:30681] IO.popen("-") with no fork"
on Apr.04,2007 00:41:49, <nobu@ruby-lang.org> wrote:
| [ruby-dev:30679]に関連して、win32などのforkのない環境では
| IO.popen("-")はfork同様NotImplementedErrorになるべきじゃないで
| しょうか。
このパッチが入って気付いたのですが、rb_notimplement() が出力
するメッセージ中の関数名が一段ずれているようです。
それはそれとして、これが直っても
The popen() function is unimplemented on this machine
とか出るのはそれはそれで紛らわしいと思うんですが、どうしたも
のでしょうかね。
Index: error.c
===================================================================
--- error.c (revision 12144)
+++ error.c (working copy)
@@ -1029,7 +1029,7 @@ rb_notimplement(void)
{
rb_raise(rb_eNotImpError,
"The %s() function is unimplemented on this machine",
- rb_id2name(rb_frame_callee()));
+ rb_id2name(rb_frame_this_func()));
}
void
それでは。
--
U.Nakamura <usa@garbagecollect.jp>