From: Akinori MUSHA Date: 2007-02-10T21:03:08+09:00 Subject: [ruby-dev:30312] Re: [ruby-cvs:18927] Ruby:r11679: * ext/thread: Make style fixes (mostly de-K&R'ism) to match the At Sat, 10 Feb 2007 00:00:44 +0900, Nobuyoshi Nakada wrote: > なかだです。 > > At Fri, 9 Feb 2007 20:48:35 +0900 (JST), > knu@ruby-lang.org wrote in [ruby-cvs:18927]: > > * ext/thread: Make style fixes (mostly de-K&R'ism) to match the > > rest of the source code. > > fastthreadは1.8のcoreに取り込む予定かと思っていたのですが、1.8 > ではむしろ、(少なくともcoreでは)K&R styleなんですが。  そうでしたか。新規のコードは ANSI/ISO が望ましいと思っていました。  K&R コンパイラしかないレガシー環境のサポートよりも、64bit環境等 での宣言漏れによるエンバグのリスクの排除を優先したいんですが、 戻した方がいいですか。(digest もすでに de-K&R してしまった)  これを期にコーディング規約も明文化した方がよさそうですね。 -- / /__ __ Akinori.org / MUSHA.org / ) ) ) ) / FreeBSD.org / Ruby-lang.org Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp "Different eyes see different things, Different hearts beat on different strings -- But there are times for you and me when all such things agree"