utimens: remove invalid futimesat call
authorJim Meyering <meyering@redhat.com>
Sun, 8 Nov 2009 11:09:35 +0000 (12:09 +0100)
committerIan Beckwith <ianb@erislabs.net>
Sun, 15 Nov 2009 02:43:04 +0000 (02:43 +0000)
commit7eb2ad0c94c0e39659b7c3dac6fca739d887dfbe
tree68e015bf9ae82e8446f6951cd186db2f1d1db9a7
parent7fba49e881cbe72cfde421ef813828d9c70401ff
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.
(cherry picked from commit 26c5fd742f9136e2ddbd4695a9172c3fa30ea260)
ChangeLog
lib/utimens.c