Win32 dirent: change FILENAME_MAX to MAX_PATH
commitfd50266c527300f5fee48056e7cf4128ad8a80e4
authorKarsten Blees <blees@dcon.de>
Fri, 7 Jan 2011 16:43:14 +0000 (7 17:43 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 14 Feb 2012 20:02:50 +0000 (14 14:02 -0600)
tree52062fc425c12e43f6d20ccc85c69c5ba1a9d269
parent9f60b5f7332a7765bf81f2a49e729158a60cd224
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