Code

msvc: opendir: allocate enough memory
authorErik Faye-Lund <kusmabite@gmail.com>
Tue, 23 Nov 2010 18:38:25 +0000 (19:38 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 24 Nov 2010 00:06:46 +0000 (16:06 -0800)
commit17194c1e96eddb43d2608fe7bd121256d17118ee
treec442288f3a016cf5ce5cf4ed19fa3474e92a5e29
parent599b0bf438e387dbaf00dbadcbe41b2a0de90db1
msvc: opendir: allocate enough memory

The defintion of DIR expects the allocating function to extend
dd_name by over-allocating. This is not currently done in our
implementation of opendir. Fix this.

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