aboutsummaryrefslogtreecommitdiffstats
path: root/process.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-06 12:20:58 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-06 12:20:58 +0000
commitee011f7b1f7a994a8758a05410f639e9fe2b6aac (patch)
tree472a491698ffd5a2c17238c4287d5699532d90f1 /process.c
parent78d7def61988764344d2630ae77113e1edb2af5d (diff)
downloadruby-ee011f7b1f7a994a8758a05410f639e9fe2b6aac.tar.gz
* process.c (try_with_sh): please take care of the macro defined by
you. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/process.c b/process.c
index 71f3104bbb..a1097aeda4 100644
--- a/process.c
+++ b/process.c
@@ -1060,7 +1060,7 @@ exec_with_sh(const char *prog, char **argv, char **envp)
#define ARGV_COUNT(n) ((n)+1)
#else
-#define try_with_sh(prog, argv) (void)0
+#define try_with_sh(prog, argv, envp) (void)0
#define ARGV_COUNT(n) (n)
#endif
#define ARGV_SIZE(n) (sizeof(char*) * ARGV_COUNT(n))