Win32 dirent: change FILENAME_MAX to MAX_PATH
commitecf078d458935f43857a92e386073d0b5bd76f9e
authorKarsten Blees <blees@dcon.de>
Fri, 7 Jan 2011 16:43:14 +0000 (7 17:43 +0100)
committerKarsten Blees <blees@dcon.de>
Thu, 15 Mar 2012 17:05:25 +0000 (15 18:05 +0100)
tree3eb543ba5b0daf8cbdf61901b5a5df4a74bbec85
parent09a30e66b368345a1b1d938b17cc5c1f998956b3
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