Win32 dirent: change FILENAME_MAX to MAX_PATH
authorKarsten Blees <redacted>
Fri, 7 Jan 2011 16:43:14 +0000 (17:43 +0100)
committerJunio C Hamano <redacted>
Mon, 9 Jun 2014 22:10:53 +0000 (15:10 -0700)
commitfa9abe95bec0e12322baae3511678ccfeb97eebc
treeb188e70c2825587f8248925f04db5fce7add15ca
parentb0601e6564061aa21699ee0a523e969c228cb1b4
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 <redacted>
Signed-off-by: Erik Faye-Lund <redacted>
Signed-off-by: Stepan Kasal <redacted>
Signed-off-by: Junio C Hamano <redacted>
compat/win32/dirent.h
git clone https://git.99rst.org/PROJECT