diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2023-02-03 16:12:30 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2023-02-04 12:11:32 +0100 |
commit | f83f6cd4dc21664721602ceb449631957e941215 (patch) | |
tree | 895104e30b0d111e439c52f40becc0e51e8b1196 /sfeed_twtxt.1 | |
parent | e77a675e83ccbea65a50fe85dc9cb49fff5e0443 (diff) |
sfeed_gopher: remove PATH_MAX and restricting the path length
This make it also cleanly compile without any other changes on GNU/Hurd.
Reference: https://www.gnu.org/software/hurd/hurd/porting/guidelines.html
Section: "PATH_MAX, MAX_PATH, MAXPATHLEN, _POSIX_PATH_MAX"
The fopen() functions will return NULL when the path is too long and set
errno = ENAMETOOLONG.
"The length of a pathname exceeds {PATH_MAX}, or pathname resolution of a
symbolic link produced an intermediate result with a length that exceeds
{PATH_MAX}."
Reference: https://pubs.opengroup.org/onlinepubs/9699919799/functions/fopen.html
Diffstat (limited to 'sfeed_twtxt.1')
0 files changed, 0 insertions, 0 deletions