emersion / mrsh

A minimal POSIX shell
MIT License
493 stars 35 forks source link

PATH_MAX is used unconditionally #143

Closed bugaevc closed 4 years ago

bugaevc commented 4 years ago

According to POSIX, PATH_MAX may or may not be defined. This means using it unconditionally is wrong and will result in build failures on systems that don't define PATH_MAX and/or don't limit the length of paths. More about it here.