]> sourceware.org Git - glibc.git/commit - ChangeLog
Remove __ASSUME_UTIMENSAT.
authorJoseph Myers <joseph@codesourcery.com>
Wed, 25 Jun 2014 11:36:10 +0000 (11:36 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 25 Jun 2014 11:36:10 +0000 (11:36 +0000)
commitcecf2ed43a4c2eede0b58740f16e47f31e7586a4
treeb15e9cdb4bff094dae290c581c0cf9750f106e9c
parenta638de828d877376fb238efc8b0bc9220dd2601e
Remove __ASSUME_UTIMENSAT.

This patch removes the __ASSUME_UTIMENSAT macro, now it can be
unconditionally assumed to be true.

This shows that the only live uses of __ASSUME_UTIMES are in utimes.c
and they are only live for hppa.  I intend a followup patch to make
__ASSUME_UTIMES into an hppa-specific macro (not used or defined
outside sysdeps/unix/sysv/linux/hppa/).

Tested x86_64 that the disassembly of installed shared libraries is
unchanged by this patch.

* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
Remove macro.
* sysdeps/unix/sysv/linux/futimes.c: Do not include
<kernel-features.h>.
[__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
conditional variable definition.
(__futimes): Update comment.
(__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
(__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
ChangeLog
sysdeps/unix/sysv/linux/futimes.c
sysdeps/unix/sysv/linux/kernel-features.h
This page took 0.043689 seconds and 5 git commands to generate.