Win32 dirent: change FILENAME_MAX to MAX_PATH
commit7d14fe856e79bc9d24fb2619c1cd91c2069b5f8a
authorKarsten Blees <blees@dcon.de>
Fri, 7 Jan 2011 16:43:14 +0000 (7 17:43 +0100)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Sun, 29 Jan 2012 11:07:09 +0000 (29 11:07 +0000)
tree97368e450b3328f03369b35b5891cbc56dc77da9
parent1a7ef385d4c9366836427b57eeec13954f55adf0
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