utimens: remove invalid futimesat call
authorJim Meyering <meyering@redhat.com>
Sun, 8 Nov 2009 11:09:35 +0000 (12:09 +0100)
committerJim Meyering <meyering@redhat.com>
Sun, 8 Nov 2009 14:13:23 +0000 (15:13 +0100)
commit26c5fd742f9136e2ddbd4695a9172c3fa30ea260
tree543a6dce95dc4ee7369720e748600d65f4c186fb
parent7becd9d708425924f3a402fdd3c6e18ba2a7e4e3
utimens: remove invalid futimesat call

* lib/utimens.c (fdutimens) [HAVE_FUTIMESAT]: Remove invalid futimesat
call.  It used the file descriptor of the target file as the DIR_FD
parameter and NULL as the file name.  That caused failure with
errno == EFAULT on FreeBSD-8.0-rc2.
ChangeLog
lib/utimens.c