Nguyễn Thái Ngọc Duy schrieb: > --- a/setup.c > +++ b/setup.c > @@ -577,10 +577,14 @@ const char *setup_git_directory(void) > /* If the work tree is not the default one, recompute prefix */ > if (inside_work_tree < 0) { > static char buffer[PATH_MAX + 1]; > + static char cwd[PATH_MAX + 1]; > char *rel; > + getcwd(cwd, PATH_MAX); This needs an error check. -- Hannes -- 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