Erik Faye-Lund wrote: > --- a/compat/msvc.c > +++ b/compat/msvc.c > @@ -23,6 +23,8 @@ DIR *opendir(const char *name) > > /* check that the pattern won't be too long for FindFirstFileA */ > len = strlen(name); > + if (is_dir_sep(name[len - 1])) > + len--; I assume len can't be 0? -- 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