]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
O_SEARCH test: drop O_SEARCH|O_RDWR local diff
authorkevans <kevans@FreeBSD.org>
Wed, 5 Feb 2020 17:21:36 +0000 (17:21 +0000)
committerkevans <kevans@FreeBSD.org>
Wed, 5 Feb 2020 17:21:36 +0000 (17:21 +0000)
commit72a88e4244bb47796b2719392b3697e2610b102c
treedb97078986f9c75ee6afad07e0251776ab69e9f5
parent1adde9351ca90d490ca9e626784968ee9ccb255b
O_SEARCH test: drop O_SEARCH|O_RDWR local diff

In FreeBSD's O_SEARCH implementation, O_SEARCH in conjunction with O_RDWR or
O_WRONLY is explicitly rejected. In this case, O_RDWR was not necessary
anyways as the file will get created with or without it.

This was submitted upstream as misc/54940 and committed in rev 1.8 of the
file.
contrib/netbsd-tests/lib/libc/c063/t_o_search.c