]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
unittest_blkdev: use readdir() as readdir_r() is deprecated
authorKefu Chai <kchai@redhat.com>
Mon, 7 Nov 2016 06:11:30 +0000 (14:11 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 7 Nov 2016 06:19:44 +0000 (14:19 +0800)
commit0a652ede765084cc95ae24a0b417e22b8f4364e2
tree8d6cef3f33a803c2dadefd886bdec8111ca6cf6d
parent29b2466a1108172d78cf7d68814ee4d2d9507acb
unittest_blkdev: use readdir() as readdir_r() is deprecated

see https://lwn.net/Articles/696469/, readdir_r() is deprecated by
glibc since 2.24. so let's use readdir() instead.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/common/test_blkdev.cc