зеркало из https://github.com/github/ruby.git
* 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:
Родитель
78d7def619
Коммит
ee011f7b1f
|
@ -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
|
||||
|
|
|
@ -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))
|
||||
|
|
Загрузка…
Ссылка в новой задаче