diff --git a/ChangeLog b/ChangeLog index d3fe3c7bba..0e63682d3d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Jun 6 21:18:47 2012 NAKAMURA Usaku + + * process.c (try_with_sh): please take care of the macro defined by + you. + Wed Jun 6 20:45:08 2012 Tanaka Akira * process.c (proc_exec_v): don't call dln_find_exe_r here because it 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))