diff options
author | jilles <jilles@FreeBSD.org> | 2016-12-04 15:55:59 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2016-12-04 15:55:59 +0000 |
commit | ccf958c4684e753bca88fbe5b9eedbaf803fb5ec (patch) | |
tree | 6f98cf43edbceeb34339d49d476d4d517c77beff /contrib/netbsd-tests/lib/libc/string/t_strchr.c | |
parent | 7f7247bd2777a8e1e3f557763412baa8a2a4f32b (diff) | |
download | FreeBSD-src-ccf958c4684e753bca88fbe5b9eedbaf803fb5ec.zip FreeBSD-src-ccf958c4684e753bca88fbe5b9eedbaf803fb5ec.tar.gz |
MFC r309026: open(2): Clarify non-POSIX error when opening a symlink with
O_NOFOLLOW.
We return [EMLINK] instead of [ELOOP] when trying to open a symlink with
O_NOFOLLOW, so that the original case of [ELOOP] can be distinguished. Code
like cmp -h and xz takes advantage of this.
PR: 214633
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/string/t_strchr.c')
0 files changed, 0 insertions, 0 deletions