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

ruby-changes:27772

From: usa <ko1@a...>
Date: Tue, 19 Mar 2013 19:55:37 +0900 (JST)
Subject: [ruby-changes:27772] usa:r39824 (trunk): * ruby_kill (internal.h, thread.c): use rb_pid_t instead of pid_t.

usa	2013-03-19 19:51:49 +0900 (Tue, 19 Mar 2013)

  New Revision: 39824

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39824

  Log:
    * ruby_kill (internal.h, thread.c): use rb_pid_t instead of pid_t.
      this fixes the build failure of mswin introduced at r39819.

  Modified files:
    trunk/ChangeLog
    trunk/internal.h
    trunk/thread.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 39823)
+++ ChangeLog	(revision 39824)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Mar 19 19:50:48 2013  NAKAMURA Usaku  <usa@r...>
+
+	* ruby_kill (internal.h, thread.c): use rb_pid_t instead of pid_t.
+	  this fixes the build failure of mswin introduced at r39819.
+
 Tue Mar 19 17:09:30 2013  Nobuyoshi Nakada  <nobu@r...>
 
 	* string.c (rb_str_conv_enc_opts): convert with one converter, instead
Index: thread.c
===================================================================
--- thread.c	(revision 39823)
+++ thread.c	(revision 39824)
@@ -5204,7 +5204,7 @@ rb_uninterruptible(VALUE (*b_proc)(ANYAR https://github.com/ruby/ruby/blob/trunk/thread.c#L5204
 }
 
 void
-ruby_kill(pid_t pid, int sig)
+ruby_kill(rb_pid_t pid, int sig)
 {
     int err;
     rb_thread_t *th = GET_THREAD();
Index: internal.h
===================================================================
--- internal.h	(revision 39823)
+++ internal.h	(revision 39824)
@@ -308,7 +308,7 @@ VALUE rb_thread_shield_destroy(VALUE sel https://github.com/ruby/ruby/blob/trunk/internal.h#L308
 void rb_mutex_allow_trap(VALUE self, int val);
 VALUE rb_uninterruptible(VALUE (*b_proc)(ANYARGS), VALUE data);
 VALUE rb_mutex_owned_p(VALUE self);
-void ruby_kill(pid_t pid, int sig);
+void ruby_kill(rb_pid_t pid, int sig);
 
 /* thread_pthread.c, thread_win32.c */
 void Init_native_thread(void);

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

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