From a60fe909d7244b961e5b56273309921b7b2cdd65 Mon Sep 17 00:00:00 2001 From: akr Date: Tue, 19 Jun 2012 09:14:18 +0000 Subject: [PATCH] fix async-signal-safe comments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- process.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/process.c b/process.c index 999a37e435..326f379661 100644 --- a/process.c +++ b/process.c @@ -2338,7 +2338,7 @@ run_exec_dup2_tmpbuf_size(long n) 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 @@ run_exec_close(VALUE ary, char *errmsg, size_t errmsg_buflen) 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 @@ run_exec_open(VALUE ary, VALUE save, char *errmsg, size_t errmsg_buflen) 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 @@ run_exec_dup2_child(VALUE ary, VALUE save, char *errmsg, size_t errmsg_buflen) } #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 @@ run_exec_pgroup(VALUE obj, VALUE save, char *errmsg, size_t errmsg_buflen) #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 @@ save_env(VALUE save) } #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) {