diff options
author | Rich Felker <dalias@aerifal.cx> | 2018-08-20 20:20:31 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-08-20 20:33:19 -0400 |
commit | 767f7a1091af3a3dcee2f7a49d0713359a81961c (patch) | |
tree | bdfded5ab7f34c369c9015464b56c96fff57ffd3 /src/signal/mips64 | |
parent | 8b2b61e0001281be0dcd3dedc899bf187172fecb (diff) | |
download | musl-767f7a1091af3a3dcee2f7a49d0713359a81961c.tar.gz musl-767f7a1091af3a3dcee2f7a49d0713359a81961c.tar.xz musl-767f7a1091af3a3dcee2f7a49d0713359a81961c.zip |
remove erroneous SYMLINK_MAX definition from limits.h, pathconf
POSIX requires the symlink function to fail with ENAMETOOLONG if the link contents to be written exceed SYMLINK_MAX in length, but neither Linux nor our syscall wrapper code enforce this. the value 255 for SYMLINK_MAX is not meaningful and does not seem to have been motivated by anything except perhaps a wrong assumption that a definition was mandatory. it has been present (though moving through bits to top-level limits.h) since the beginning of the project history. [f]pathconf is entitled to return -1 as the limit for conf names for which there is no hard limit, with the usual POSIX note that an indefinite limit does not imply an infinite limit. in principle we might should report a limit for filesystems that impose one, but such functionality is not currently present for any of the pathconf limits, and adding it is beyond the scope of fixing the incorrect limit.
Diffstat (limited to 'src/signal/mips64')
0 files changed, 0 insertions, 0 deletions