Improve handling of FILENAME_MAX

See the commit messages.

Merge request reports

Loading