]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librados_test_stub: use readdir() as readdir_r() is deprecated 11805/head
authorKefu Chai <kchai@redhat.com>
Mon, 7 Nov 2016 06:18:23 +0000 (14:18 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 7 Nov 2016 06:19:44 +0000 (14:19 +0800)
commitb4570ff3c05810fef6ef3a70b79ba4be3777eec5
tree03dfdfb9725d607933373f84f443def334733bf4
parent0a652ede765084cc95ae24a0b417e22b8f4364e2
librados_test_stub: 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/librados_test_stub/TestClassHandler.cc