ruby-changes:24084
From: akr <ko1@a...>
Date: Tue, 19 Jun 2012 18:14:27 +0900 (JST)
Subject: [ruby-changes:24084] akr:r36135 (trunk): fix async-signal-safe comments.
akr 2012-06-19 18:14:18 +0900 (Tue, 19 Jun 2012) New Revision: 36135 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36135 Log: fix async-signal-safe comments. Modified files: trunk/process.c Index: process.c =================================================================== --- process.c (revision 36134) +++ process.c (revision 36135) @@ -2338,7 +2338,7 @@ return sizeof(struct run_exec_dup2_fd_pair) * n; } -/* This function should be async-signal-safe when _save_ is not Qnil. Hopefully it is. */ +/* This function should be async-signal-safe when _save_ is Qnil. Hopefully it is. */ static int run_exec_dup2(VALUE ary, VALUE tmpbuf, VALUE save, char *errmsg, size_t errmsg_buflen) { @@ -2489,7 +2489,7 @@ return 0; } -/* This function should be async-signal-safe when _save_ is not Qnil. Actually it is. */ +/* This function should be async-signal-safe when _save_ is Qnil. Actually it is. */ static int run_exec_open(VALUE ary, VALUE save, char *errmsg, size_t errmsg_buflen) { @@ -2539,7 +2539,7 @@ return 0; } -/* This function should be async-signal-safe when _save_ is not Qnil. Actually it is. */ +/* This function should be async-signal-safe when _save_ is Qnil. Actually it is. */ static int run_exec_dup2_child(VALUE ary, VALUE save, char *errmsg, size_t errmsg_buflen) { @@ -2564,7 +2564,7 @@ } #ifdef HAVE_SETPGID -/* This function should be async-signal-safe when _save_ is not Qnil. Actually it is. */ +/* This function should be async-signal-safe when _save_ is Qnil. Actually it is. */ static int run_exec_pgroup(VALUE obj, VALUE save, char *errmsg, size_t errmsg_buflen) { @@ -2591,7 +2591,7 @@ #endif #if defined(HAVE_SETRLIMIT) && defined(RLIM2NUM) -/* This function should be async-signal-safe when _save_ is not Qnil. Hopefully it is. */ +/* This function should be async-signal-safe when _save_ is Qnil. Hopefully it is. */ static int run_exec_rlimit(VALUE ary, VALUE save, char *errmsg, size_t errmsg_buflen) { @@ -2651,7 +2651,7 @@ } #endif -/* This function should be async-signal-safe when _s_ is not NULL. Hopefully it is. */ +/* This function should be async-signal-safe when _s_ is NULL. Hopefully it is. */ int rb_execarg_run_options(const struct rb_exec_arg *e, struct rb_exec_arg *s, char *errmsg, size_t errmsg_buflen) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/