]> Sergey Matveev's repositories - nnn.git/commit
Fallbacks for absent NAME_MAX and PATH_MAX (#455)
authorSijmen J. Mulder <ik@sjmulder.nl>
Wed, 29 Jan 2020 13:31:07 +0000 (14:31 +0100)
committerGitHub <noreply@github.com>
Wed, 29 Jan 2020 13:31:07 +0000 (19:01 +0530)
commit46fc9c983c3c62e8c552e70ab9613380b868ae8f
tree33fa792d19ec3faf9c8d42bccb0776137f1cc5ad
parentc434d8d4bcc5b875bf75ecb80b175c6088e5419c
Fallbacks for absent NAME_MAX and PATH_MAX (#455)

* Fallbacks for absent NAME_MAX and PATH_MAX

Certainly NAME_MAX isn't guaranteed to exist and on (some versions of?)
Illumos and SmartOS it doesn't, so provide some reasonably accommodating
fallbacks.

* Smaller limits

* Remove now redundant PATH_MAX definition for Hurd
src/nnn.c