ruby-changes:24155
From: akr <ko1@a...>
Date: Sun, 24 Jun 2012 22:36:15 +0900 (JST)
Subject: [ruby-changes:24155] akr:r36206 (trunk): update async-signal-safe comments.
akr 2012-06-24 22:35:56 +0900 (Sun, 24 Jun 2012) New Revision: 36206 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36206 Log: update async-signal-safe comments. Modified files: trunk/process.c Index: process.c =================================================================== --- process.c (revision 36205) +++ process.c (revision 36206) @@ -2395,7 +2395,7 @@ return sizeof(struct run_exec_dup2_fd_pair) * n; } -/* This function should be async-signal-safe when _save_ is Qnil. Hopefully it is. */ +/* This function should be async-signal-safe when sargp is NULL. Hopefully it is. */ static int run_exec_dup2(VALUE ary, VALUE tmpbuf, struct rb_execarg *sargp, char *errmsg, size_t errmsg_buflen) { @@ -2546,7 +2546,7 @@ return 0; } -/* This function should be async-signal-safe when _save_ is Qnil. Actually it is. */ +/* This function should be async-signal-safe when sargp is NULL. Actually it is. */ static int run_exec_open(VALUE ary, struct rb_execarg *sargp, char *errmsg, size_t errmsg_buflen) { @@ -2596,7 +2596,7 @@ return 0; } -/* This function should be async-signal-safe when _save_ is Qnil. Actually it is. */ +/* This function should be async-signal-safe when sargp is NULL. Actually it is. */ static int run_exec_dup2_child(VALUE ary, struct rb_execarg *sargp, char *errmsg, size_t errmsg_buflen) { @@ -2621,7 +2621,7 @@ } #ifdef HAVE_SETPGID -/* This function should be async-signal-safe when _save_ is Qnil. Actually it is. */ +/* This function should be async-signal-safe when sargp is NULL. Actually it is. */ static int run_exec_pgroup(const struct rb_execarg *eargp, struct rb_execarg *sargp, char *errmsg, size_t errmsg_buflen) { @@ -2654,7 +2654,7 @@ #endif #if defined(HAVE_SETRLIMIT) && defined(RLIM2NUM) -/* This function should be async-signal-safe when _save_ is Qnil. Hopefully it is. */ +/* This function should be async-signal-safe when sargp is NULL. Hopefully it is. */ static int run_exec_rlimit(VALUE ary, struct rb_execarg *sargp, char *errmsg, size_t errmsg_buflen) { @@ -2716,7 +2716,7 @@ } #endif -/* This function should be async-signal-safe when _s_ is NULL. Hopefully it is. */ +/* This function should be async-signal-safe when sargp is NULL. Hopefully it is. */ int rb_execarg_run_options(const struct rb_execarg *eargp, struct rb_execarg *sargp, char *errmsg, size_t errmsg_buflen) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/