]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/fd.cc: use readdir() as readdir_r() is deprecated
authorKefu Chai <kchai@redhat.com>
Mon, 7 Nov 2016 05:36:56 +0000 (13:36 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 7 Nov 2016 06:19:44 +0000 (14:19 +0800)
commit8f2acc341ccce44d41675cae1cc7343ea04a2cc1
tree6f14cfe184aea07b57fdce9cdc7c8a1bff94c601
parent45722ecbe4fc537d7fd8d43f83a9f30386d32875
common/fd.cc: 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/common/fd.cc