Win32 dirent: change FILENAME_MAX to MAX_PATH
commitcb1769fc5344e8543d15b8eefbb118ffbdb65f62
authorKarsten Blees <blees@dcon.de>
Fri, 7 Jan 2011 16:43:14 +0000 (7 17:43 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 8 Oct 2011 20:03:26 +0000 (8 15:03 -0500)
tree56b8de432297f9857b3e5eebe8e3ef4b550c8f89
parent40f1ff58020a32909ac505c4dacc3fb661b0442e
Win32 dirent: change FILENAME_MAX to MAX_PATH

FILENAME_MAX and MAX_PATH are both 260 on Windows, however, MAX_PATH is
used throughout the other Win32 code in Git, and also defines the length
of file name buffers in the Win32 API (e.g. WIN32_FIND_DATA.cFileName,
from which we're copying the dirent data).

Signed-off-by: Karsten Blees <blees@dcon.de>
Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
compat/win32/dirent.h