ruby-dev (Japanese) list archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-dev:47344] Re: [ruby-changes:28691] usa:r40743 (trunk): * signal.c: need to include unistd.h for write(2).
       [not found] <20130514154507.1BC1E8068A@sakura2.atdot.net>
@ 2013-05-14 23:02 ` Tanaka Akira
  2013-05-15  8:41   ` [ruby-dev:47347] " U.Nakamura
  0 siblings, 1 reply; 2+ messages in thread
From: Tanaka Akira @ 2013-05-14 23:02 UTC (permalink / raw
  To: ruby developers list

2013/5/15 usa <ko1@atdot•net>:

>     * signal.c: need to include unistd.h for write(2).
>       unistd.h is now included via ruby/defines.h, but should implicitly
>       include here.  (suggested by kosaki)

これですけど、必要なところで include するのって、管理できないんじゃないですかねぇ。
というか、管理できてなかったと思うんです。

defines.h で include するようにしたのは私で、私の意図は、必要なシステムヘッダは
基本的に全部そこで include する、というものです。

どうですかねぇ?
-- 
[田中 哲][たなか あきら][Tanaka Akira]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ruby-dev:47347] Re: [ruby-changes:28691] usa:r40743 (trunk): * signal.c: need to include unistd.h for write(2).
  2013-05-14 23:02 ` [ruby-dev:47344] Re: [ruby-changes:28691] usa:r40743 (trunk): * signal.c: need to include unistd.h for write(2) Tanaka Akira
@ 2013-05-15  8:41   ` U.Nakamura
  0 siblings, 0 replies; 2+ messages in thread
From: U.Nakamura @ 2013-05-15  8:41 UTC (permalink / raw
  To: ruby developers list

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

In message "[ruby-dev:47344] Re: [ruby-changes:28691] usa:r40743 (trunk): * signal.c: need to include unistd.h for write(2)."
    on May.15,2013 08:02:15, <akr@fsij•org> wrote:
> >     * signal.c: need to include unistd.h for write(2).
> >       unistd.h is now included via ruby/defines.h, but should implicitly
> >       include here.  (suggested by kosaki)
> 
> これですけど、必要なところで include するのって、管理できないんじゃないですかねぇ。
> というか、管理できてなかったと思うんです。
> 
> defines.h で include するようにしたのは私で、私の意図は、必要なシステムヘッダは
> 基本的に全部そこで include する、というものです。
> 
> どうですかねぇ?

個人的には、その定義あるいは宣言を参照するソースファイルでinclude
する方が望ましいと思います。
と、同時に、管理しきれないだろ、という指摘にも同意します。
なので、両方にあってもいいんじゃないでしょうか。
(と思って、こさきさんのcommit要求に応えました)

私自身はあんまり強く意見として持ってるわけじゃないので、皆さ
ん議論をお願いします。


それでは。
-- 
U.Nakamura <usa@garbagecollect•jp>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-15  9:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20130514154507.1BC1E8068A@sakura2.atdot.net>
2013-05-14 23:02 ` [ruby-dev:47344] Re: [ruby-changes:28691] usa:r40743 (trunk): * signal.c: need to include unistd.h for write(2) Tanaka Akira
2013-05-15  8:41   ` [ruby-dev:47347] " U.Nakamura

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).