1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
usa 2012-06-06 12:20:58 +00:00
parent 78d7def619
commit ee011f7b1f
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Wed Jun 6 21:18:47 2012 NAKAMURA Usaku <usa@ruby-lang.org>
* process.c (try_with_sh): please take care of the macro defined by
you.
Wed Jun 6 20:45:08 2012 Tanaka Akira <akr@fsij.org>
* process.c (proc_exec_v): don't call dln_find_exe_r here because it

View file

@ -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))