bareos: master 41af4be8

Author Committer Branch Timestamp Parent
Marco van Wieringen Marco van Wieringen master 2014-07-29 14:47 master 0cfa3d07 Pending
Changeset Add support for newer APIs

The API world hasn't been frozen over the years and POSIX
nowadays defines some new APIs which we might want to start exploring.

This patch adds support for the following new APIs:

fchown()/lchown() replacing the chown call.
fchmod()/lchmod() replacing the chmod call.
utimes()/futimes()/futimens()/lutimes() replacing the utime call.

If those APIs are available they are prefered rather then using the
standard chown(), chmod() and utime() APIs.

We move away from using utime when possible because POSIX.1-2008
marks utime() as obsolete.
mod - autoconf/configure.in Diff File
mod - src/findlib/attribs.c Diff File
mod - src/findlib/find.h Diff File
mod - src/findlib/find_one.c Diff File
mod - src/findlib/mkpath.c Diff File
mod - src/findlib/protos.h Diff File