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

ruby-changes:23932

From: akr <ko1@a...>
Date: Sat, 9 Jun 2012 11:09:20 +0900 (JST)
Subject: [ruby-changes:23932] akr:r35983 (trunk): update async-signal-safe comments.

akr	2012-06-09 11:09:10 +0900 (Sat, 09 Jun 2012)

  New Revision: 35983

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

  Log:
    update async-signal-safe comments.

  Modified files:
    trunk/process.c

Index: process.c
===================================================================
--- process.c	(revision 35982)
+++ process.c	(revision 35983)
@@ -2583,7 +2583,7 @@
     return rb_run_exec_options_err(e, s, NULL, 0);
 }
 
-/* This function should be async-signal-safe.  Actually it is. */
+/* This function should be async-signal-safe.  Hopefully it is. */
 static int
 rb_exec_async_signal_safe(const struct rb_exec_arg *e, char *errmsg, size_t errmsg_buflen)
 {
@@ -2593,7 +2593,7 @@
 # define sargp NULL
 #endif
 
-    if (rb_run_exec_options_err(e, sargp, errmsg, errmsg_buflen) < 0) { /* async-signal-safe */
+    if (rb_run_exec_options_err(e, sargp, errmsg, errmsg_buflen) < 0) { /* hopefully async-signal-safe */
         return -1;
     }
 

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

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