]> arthur.barton.de Git - bup.git/commit
Avoid using incomplete utimensat implementations.
authorGreg Troxel <gdt@ir.bbn.com>
Tue, 3 Jun 2014 14:59:56 +0000 (10:59 -0400)
committerRob Browning <rlb@defaultvalue.org>
Tue, 10 Jun 2014 17:56:20 +0000 (12:56 -0500)
commit27d68e9dce19954fc6a86884b5b76a696a710fe8
treeb234ee015ccee20310f59980c6e14108dde8914a
parentf7591798b1d1212882438166578a5a9aec936182
Avoid using incomplete utimensat implementations.

At least NetBSD 6 has partial support for utimensat, implementing the
function but not providing needed definitions via sys/stat.h as POSIX
requires.  Check for needed defines, and if missing, undefine
HAVE_UTIMENSAT.

Signed-Off-By: Greg Troxel <gdt@ir.bbn.com>
Tested-By: Greg Troxel <gdt@ir.bbn.com>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/_helpers.c