bareos: master 76d172de

Author Committer Branch Timestamp Parent
pstorz pstorz master 2018-01-15 14:27 master 5e64dca4 Pending
Changeset remove left deprecated readdir_r() calls

In a previous commit (aebf24d), readdir_r calls were already
removed but as it seems these here were overseen.

    since glibc version 2.24, readdir_r() is deprecated.

    From the manpage of readdir_r():

    It is expected that a future version of POSIX.1 will make
    readdir_r() obsolete, and require that readdir() be thread-safe
    when concurrently employed on different directory streams.

    By defining "USE_READDIR_R" the old code is still available
    in case it is needed on certain platforms.
mod - src/stored/backends/unix_file_device.cc Diff File
mod - src/stored/scan.cc Diff File
mod - src/stored/stored.cc Diff File