summaryrefslogtreecommitdiff
path: root/t/t0024-crlf-archive.sh
diff options
context:
space:
mode:
authorLibravatar Erik Faye-Lund <kusmabite@gmail.com>2010-11-23 19:38:26 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-11-23 16:06:46 -0800
commit20c6788aced1237489824db3b25285afed0ad169 (patch)
treed7822042223a5355f16a6efb3f581dc662a03b48 /t/t0024-crlf-archive.sh
parentmsvc: opendir: allocate enough memory (diff)
downloadtgif-20c6788aced1237489824db3b25285afed0ad169.tar.xz
msvc: opendir: do not start the search
compat/mingw.c's readdir expects to be the one that starts the search, and if it isn't, then the first entry will be missing or incorrect. Fix this by removing the call to _findfirst, and initializing dd_handle to INVALID_HANDLE_VALUE. At the same time, make sure we use FindClose instead of _findclose, which is symmetric to readdir's FindFirstFile. Take into account that the find-handle might already be closed by readdir. Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0024-crlf-archive.sh')
0 files changed, 0 insertions, 0 deletions