Hi, On Wed, 27 Feb 2008, Johannes Sixt wrote: > diff --git a/git-compat-util.h b/git-compat-util.h > index 0324789..570eb10 100644 > --- a/git-compat-util.h > +++ b/git-compat-util.h > @@ -611,6 +611,7 @@ int mingw_rename(const char*, const char*); > int mingw_vsnprintf(char *buf, size_t size, const char *fmt, va_list args); > #define vsnprintf mingw_vsnprintf > > +pid_t mingw_spawnvpe(const char *cmd, const char **argv, char **env); > void mingw_execvp(const char *cmd, char *const *argv); > #define execvp mingw_execvp > > diff --git a/run-command.c b/run-command.c > index 3834f86..5ed338c 100644 > --- a/run-command.c > +++ b/run-command.c > @@ -156,7 +156,7 @@ int start_command(struct child_process *cmd) > cmd->argv[0] = git_cmd.buf; > } > > - cmd->pid = spawnvpe(_P_NOWAIT, cmd->argv[0], cmd->argv, (const char **)env); > + cmd->pid = mingw_spawnvpe(cmd->argv[0], cmd->argv, env); Should this not be "#define spawnvpe mingw_spanvpe" in git-compat-util.h instead? Ciao, Dscho -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html