Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Faye-Lund <kusmabite@gmail.com>2010-09-23 21:35:25 +0400
committerPat Thoyts <patthoyts@users.sourceforge.net>2010-10-04 02:34:02 +0400
commit1a4042096c2e8893246a99ef8e43c07acb76f54b (patch)
treee8196b8d612ebcf6f57f4be8825af022218a5761 /abspath.c
parent5e9677cbdf1840836e22d9cf23198de34877e283 (diff)
mingw: do not crash on open(NULL, ...)
fetch_and_setup_pack_index() apparently pass a NULL-pointer to parse_pack_index(), which in turn pass it to check_packed_git_idx(), which again pass it to open(). Since open() already sets errno correctly for the NULL-case, let's just avoid the problematic strcmp. [PT: squashed in fix for fopen which was missed first time round] Acked-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com> Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Diffstat (limited to 'abspath.c')
0 files changed, 0 insertions, 0 deletions