Should it not return -1, for failure? (I know, I know, probably a few
programs do not work, then, but it is not correct that it succeeded.)
The same goes for a few other functions.
Could we have this...
... and this in compat/mingw.h? And then, we'd only have
#ifdef __MINGW32__
#include "mingw.h"
#endif
in git-compat-util.h?
Ciao,
Dscho
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html