]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
objclass:: use readdir() as readdir_r() is deprecated
authorKefu Chai <kchai@redhat.com>
Mon, 7 Nov 2016 05:53:48 +0000 (13:53 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 7 Nov 2016 06:19:44 +0000 (14:19 +0800)
commit8064206f70bbc6f736dfacfe11e198be0e79d68e
treeef4c9032fb9c08c0937d151293a86c3ae15b2437
parent8f2acc341ccce44d41675cae1cc7343ea04a2cc1
objclass:: 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/osd/ClassHandler.cc