Bug #52168
closedFAL does not support long paths
0%
Description
FAL fails to support long paths.
The path limit for Windows using the classing windows API is 260 chars (256 + drive letter, colon, backslash, terminating NUL).
The UNC path limit for Windows is 32767 chars: http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx#maxpath
The general path limit for Linux (default value, can be changed) is: 4096 (PATH_MAX, usually defined in /usr/include/linux/limits.h).
The major Linux file systems do not have a path limit: http://en.wikipedia.org/wiki/Comparison_of_file_systems#Limits
The current limit in FAL is: 512 as this is the maximum size for the DB field of an identifier:
https://review.typo3.org/#/c/23882/ (#48912).
FAL should the support long paths as can easily exists in some nested archive structures.
Or to formulate is otherwise, FAL should be at least NT compatible, thus support UNC paths with up to 32767 chars.