Some platforms lack any PATH_MAX definition. This defines PATH_MAX to a
sensibly large size in such cases.
Also, add one to PATH_MAX for the null byte.
DiamondLovesYou on Sep 4 2018, 8:11 AM.Authored by
Thanks for the comments, everyone. This was originally submitted to fix a rust-lang buildbot, which I've learned is based on CentOS 5.5 (yes). Anyhow, I've fixed the issue on that particular buildbot by defining PATH_MAX in C(XX)FLAGS. Thus this patch isn't needed anymore. Thanks again.