Win32 dirent: change FILENAME_MAX to MAX_PATH
commit00b55df68dcdce7e00915f3b921c9f090669d2a3
authorKarsten Blees <blees@dcon.de>
Fri, 7 Jan 2011 16:43:14 +0000 (7 17:43 +0100)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Tue, 6 Dec 2011 00:17:46 +0000 (6 00:17 +0000)
tree777e7e491da0adf7f8a4b7ef6d77e5f93d65753c
parent35e71876e288429aa98d3d74ccdf8ca01deba84e
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