lstat() errors out with ENAMETOOLONG on paths that are 4064 characters or longer, not 4096 as PATH_MAX is defined to in limits.h. So it seems there's 32 characters "missing" from the limit.<br />
<br />
This does not happen on CentOS 6.4, so it seems to be a recent-ish regression.<br />
<br />
The length of each path-component does not seem to matter.
↧