[#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:19260] Re: [ruby-cvs] ruby: * node.h (struct RNode): Change argc from int to long. Otherwize

From: matz@... (Yukihiro Matsumoto)
Date: 2003-01-01 00:44:27 UTC
List: ruby-dev #19260
まつもと ゆきひろです

In message "[ruby-dev:19258] Re: [ruby-cvs] ruby: * node.h (struct RNode): Change argc from int to long.  Otherwize"
    on 03/01/01, "Akinori MUSHA" <knu@iDaemons.org> writes:

|>     * node.h (struct RNode): Change argc from int to long.  Otherwize
|>       NEW_CFUNC() sets argc to a wrong value on platforms where
|>       sizeof(int) != sizeof(long) and the byte order is big-endian.
|>       This fixes breakage on FreeBSD/sparc64.
|>   
|>   Revision    Changes    Path
|>   1.39        +3   -3    ruby/node.h
|>     http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/node.h?cvsroot=src&r1=1.38&r2=1.39
|
| これですが、 rev 1.12 (ruby 1.4.5 の前)で int -> long になって
|以来ずっと long だったが、 1.7 の途中、 rev 1.31 で int に戻った
|ようです。
|
|http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/node.h#rev1.31
|
|ChangeLog を見ても理由が見あたらないのですが、意図は何だったか
|心当たりはありませんか?

うーん、使う側でargcがintだから型を合わせた程度の意図しかな
いのではないかと推測します。自分でやっといて「推測します」っ
てのも情けない話ではあるのですが。longだから困ることがあるわ
けではないと思うので、戻すべきでしょう。

In This Thread