Don't define __ASSUME_UTIMES for linux-generic architectures.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 6 Mar 2014 14:13:18 +0000 (14:13 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 6 Mar 2014 14:13:18 +0000 (14:13 +0000)
commit67737b8f07c3664c716f69fd1a531f51a002d1f8
treee151aa5d93f7bd0021c3282d0ca355b04cfe1ff9
parentaa97dee16e5299bf2b8f7b2d67215361c7c904e2
Don't define __ASSUME_UTIMES for linux-generic architectures.

The __ASSUME_UTIMES macro describes whether the utimes syscall is
present.  For linux-generic architectures, it isn't (utimensat is
instead), so the macro should not be defined for them; this patch
removes the spurious definitions for such architectures.  (Those
definitions don't actually cause any user-visible bug, because
futimes.c doesn't use __ASSUME_UTIMES if __ASSUME_UTIMENSAT is
defined, and futimesat.c and utimes.c are overridden for
linux-generic, but the definitions are still logically incorrect.)

* sysdeps/unix/sysv/linux/aarch64/kernel-features.h
(__ASSUME_UTIMES): Remove.
* sysdeps/unix/sysv/linux/tile/kernel-features.h
(__ASSUME_UTIMES): Likewise.
ChangeLog
sysdeps/unix/sysv/linux/aarch64/kernel-features.h
sysdeps/unix/sysv/linux/tile/kernel-features.h