about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/kernel-features.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-07-12 08:23:50 +0000
committerUlrich Drepper <drepper@redhat.com>2003-07-12 08:23:50 +0000
commit82bae9f921065377c6fbf08edf4929b1db92a0d5 (patch)
tree0e3f34d919c9c78bffc65df052f0f487356985ba /sysdeps/unix/sysv/linux/kernel-features.h
parent4a17085f1589c5451d031995534e00e763364fb0 (diff)
downloadglibc-82bae9f921065377c6fbf08edf4929b1db92a0d5.tar.gz
glibc-82bae9f921065377c6fbf08edf4929b1db92a0d5.tar.xz
glibc-82bae9f921065377c6fbf08edf4929b1db92a0d5.zip
Update.
2003-07-12  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/kernel-features.h: Define
	__ASSUME_UTIMES for the architectures which always had the syscall.
	* sysdeps/unix/sysv/linux/futimes.c: New file.
Diffstat (limited to 'sysdeps/unix/sysv/linux/kernel-features.h')
-rw-r--r--sysdeps/unix/sysv/linux/kernel-features.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h
index 4d19238c0a..cb1d04ad93 100644
--- a/sysdeps/unix/sysv/linux/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/kernel-features.h
@@ -345,3 +345,9 @@
 #if __LINUX_KERNEL_VERSION >= 132427 && defined __i386__
 # define __ASSUME_TGKILL	1
 #endif
+
+/* The utimes syscall has been available for some architectures forever.  */
+#if defined __alpha__ || defined __ia64__ || defined __hppa_ \
+    || defined __sparc__
+# define __ASSUME_UTIMES	1
+#endif