]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r298368,r298660:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 4 May 2016 00:29:05 +0000 (00:29 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 4 May 2016 00:29:05 +0000 (00:29 +0000)
commitc74b35921af8887c86b12403680a92fed9754e30
tree2444c93e49324aa7068ead8b840cc7baff60c6eb
parent98736c3bd136a36e1fee71b31d06f96fb1161d7e
MFC r298368,r298660:

r298368:

Fix coverity issue with contrib/netbsd-tests/lib/libc/ssp/h_read.c

Ensure opening /dev/zero succeeds. Abort the test if it doesn't.

Also, use _PATH_DEVZERO instead of hardcoding "/dev/zero"

CID: 1251410

r298660:

Fix up r298368

Remove the semicolon accidentally added after the new conditional that tests
that /dev/zero is opened successfully.

CID: 1354980

git-svn-id: svn://svn.freebsd.org/base/stable/10@299020 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/netbsd-tests/lib/libc/ssp/h_read.c