win32: dirent: handle errors
authorErik Faye-Lund <kusmabite@gmail.com>
Tue, 23 Nov 2010 18:38:27 +0000 (19:38 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 24 Nov 2010 00:06:47 +0000 (16:06 -0800)
commit9585ed519c59d5ac46f8e12b339220cdd0567b7d
tree3f182d4e555918abcae2cf4dc4b4821dd805ba4a
parent20c6788aced1237489824db3b25285afed0ad169
win32: dirent: handle errors

Previously all error conditions were ignored. Be nice, and set errno
when we should.

Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/mingw.c
compat/msvc.c