Win32 dirent: change FILENAME_MAX to MAX_PATH
commit365f6828a7c6c5c091bb779857bf731708908d4b
authorKarsten Blees <blees@dcon.de>
Fri, 7 Jan 2011 16:43:14 +0000 (7 17:43 +0100)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Wed, 29 May 2013 07:35:44 +0000 (29 08:35 +0100)
tree6504482ec7d130411b1a81a6d91852a01f9c4a1b
parent21beb3763e023778a3a03a934f9ab9213c8c6a0e
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