]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
libext2fs: support operating systems that don't have strnlen()
authorTheodore Ts'o <tytso@mit.edu>
Sun, 25 Mar 2018 02:26:24 +0000 (22:26 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 25 Mar 2018 02:27:51 +0000 (22:27 -0400)
commit51ed02bec92431d032d3e5eb0b4b234eef97abc6
tree2fad86d4196bdf110f1a6760a59db4bf21967d51
parent46cf3712b39bc83bb5dbd6bd19ecc21af80d6ac1
libext2fs: support operating systems that don't have strnlen()

Someone was trying to build e2fsprogs on MacOS 10.6.8, and ran into
build problems because MacOS didn't have strnlen() support until seven
years ago.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reported-by: Jens Bauer <jens@plustv.dk>
lib/ext2fs/symlink.c