[PATCH] Misc fixes

Jakub Jelinek jakub@redhat.com
Sat Jul 12 14:19:00 GMT 2003


Hi!

2003-07-12  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/futimes.c: Include kernel-features.h.
	* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Fix
	a typo.

--- libc/sysdeps/unix/sysv/linux/futimes.c	12 Jul 2003 09:10:10 -0000	1.1.1.1
+++ libc/sysdeps/unix/sysv/linux/futimes.c	12 Jul 2003 09:48:04 -0000	1.2
@@ -23,6 +23,8 @@
 #include <sys/time.h>
 #include <stdio-common/_itoa.h>
 
+#include "kernel-features.h"
+
 /* Change the access time of FILE to TVP[0] and
    the modification time of FILE to TVP[1], but do not follow symlinks.
 
--- libc/sysdeps/unix/sysv/linux/kernel-features.h	12 Jul 2003 09:10:10 -0000	1.1.1.39
+++ libc/sysdeps/unix/sysv/linux/kernel-features.h	12 Jul 2003 09:48:04 -0000	1.24
@@ -347,7 +347,7 @@
 #endif
 
 /* The utimes syscall has been available for some architectures forever.  */
-#if defined __alpha__ || defined __ia64__ || defined __hppa_ \
+#if defined __alpha__ || defined __ia64__ || defined __hppa__ \
     || defined __sparc__
 # define __ASSUME_UTIMES	1
 #endif

	Jakub



More information about the Libc-hacker mailing list