[前][次][番号順一覧][スレッド一覧]

ruby-changes:6072

From: akr <ko1@a...>
Date: Thu, 26 Jun 2008 22:10:53 +0900 (JST)
Subject: [ruby-changes:6072] Ruby:r17584 (ruby_1_8): * process.c: include sys/resource.h if HAVE_SYS_RESOURCE_H is defined.

akr	2008-06-26 22:10:39 +0900 (Thu, 26 Jun 2008)

  New Revision: 17584

  Modified files:
    branches/ruby_1_8/ChangeLog
    branches/ruby_1_8/process.c

  Log:
    * process.c: include sys/resource.h if HAVE_SYS_RESOURCE_H is defined.
      pointed by TOYOFUKU Chikanobu.  [ruby-dev:35258]


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ChangeLog?r1=17584&r2=17583&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/process.c?r1=17584&r2=17583&diff_format=u

Index: ruby_1_8/process.c
===================================================================
--- ruby_1_8/process.c	(revision 17583)
+++ ruby_1_8/process.c	(revision 17584)
@@ -42,7 +42,7 @@
 #ifdef HAVE_SYS_WAIT_H
 # include <sys/wait.h>
 #endif
-#ifdef HAVE_GETPRIORITY
+#ifdef HAVE_SYS_RESOURCE_H
 # include <sys/resource.h>
 #endif
 #include "st.h"
Index: ruby_1_8/ChangeLog
===================================================================
--- ruby_1_8/ChangeLog	(revision 17583)
+++ ruby_1_8/ChangeLog	(revision 17584)
@@ -1,3 +1,8 @@
+Thu Jun 26 22:07:54 2008  Tanaka Akira  <akr@f...>
+
+	* process.c: include sys/resource.h if HAVE_SYS_RESOURCE_H is defined.
+	  pointed by TOYOFUKU Chikanobu.  [ruby-dev:35258]
+
 Thu Jun 26 17:43:41 2008  Yukihiro Matsumoto  <matz@r...>
 
 	* variable.c (rb_f_trace_var): should not be allowed at safe level 4.  

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]