[#19261] lstripped here-document (Re: comments and continuing strings on the next line) — nobu.nakada@...

なかだです。

29 messages 2003/01/01
[#19360] Re: lstripped here-document (Re: comments and continuing strings on the next line) — "K.Kosako" <kosako@...> 2003/01/15

nobu.nakada@nifty.ne.jpさんの

[#19361] Re: lstripped here-document (Re: comments and continuing strings on the next line) — "NAKAMURA, Hiroshi" <nakahiro@...> 2003/01/15

なひです。

[#19364] Re: lstripped here-document (Re: comments and continuing strings on the next line) — nobu.nakada@... 2003/01/17

なかだです。

[#19366] Re: lstripped here-document (Re: comments and continuing strings on the next line) — "NAKAMURA, Hiroshi" <nakahiro@...> 2003/01/17

なひです。

[#19299] [BUG] errno == 0 — Kazuhiro Yoshida <moriq@...>

もりきゅうです。win32だけかもしれません。

22 messages 2003/01/04
[#19301] Re: [BUG] errno == 0 — "U.Nakamura" <usa@...> 2003/01/04

こんにちは、なかむら(う)です。

[#19302] Re: [BUG] errno == 0 — "U.Nakamura" <usa@...> 2003/01/04

こんにちは、なかむら(う)です。

[#19303] Re: [BUG] errno == 0 — "U.Nakamura" <usa@...> 2003/01/04

こんにちは、なかむら(う)です。

[#19304] Re: [BUG] errno == 0 — "U.Nakamura" <usa@...> 2003/01/04

こんにちは、なかむら(う)です。

[#19306] Re: [BUG] errno == 0 — nobu.nakada@... 2003/01/05

なかだです。

[ruby-dev:19279] Re: ruby-1.8.0 / yield(nil)とyield()のちがい

From: WATANABE Hirofumi <eban@...>
Date: 2003-01-01 13:58:15 UTC
List: ruby-dev #19279
わたなべです。

Yukihiro Matsumoto <matz@ruby-lang.org> writes:

> なんとかなったみたいです。以下のtest suiteが動作します。もう
> じきコミットします。

以下のコードを実行すると"a"ではなく3を表示します。

def foo(s)
  p s
end

def config_string
  yield "a"
end

config_string(&method(:foo).to_proc)

このためmswin32/mingw32/bccwin32でmakeが失敗します。
なぜかcygwin/djgpp/linuxではmake時はちゃんと渡るため大丈夫。
どこか初期化忘れがあるのかな?

C:/cygwin/home/watanabe/ruby/ruby/lib/shellwords.rb:17:in `shellwords': Argument must be String class object. (ArgumentError)
        from C:/cygwin/home/watanabe/ruby/ruby/lib/mkmf.rb:55:in `to_proc'
        from C:/cygwin/home/watanabe/ruby/ruby/lib/mkmf.rb:833:in `config_string'
        from C:/cygwin/home/watanabe/ruby/ruby/lib/mkmf.rb:848
        from ../ruby/ext/extmk.rb:23:in `require'
        from ../ruby/ext/extmk.rb:23
make: *** [all] Error 1

In This Thread