1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
* sysdeps/unix/sysv/linux/kernel-features.h: Define
	__ASSUME_UTIMES for x86 and kernels > 2.5.75.

	* sysdeps/unix/sysv/linux/futimes.c (__futimes): Handle case with
	second parameter == NULL.
	* sysdeps/unix/sysv/linux/utimes.c: New file.

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.

2003-07-12  Ulrich Drepper  <drepper@redhat.com>
This commit is contained in:
Ulrich Drepper
2003-07-12 18:48:39 +00:00
parent 327e163789
commit f4e0175f01
4 changed files with 96 additions and 11 deletions

View File

@ -346,8 +346,10 @@
# define __ASSUME_TGKILL 1
#endif
/* The utimes syscall has been available for some architectures forever. */
#if defined __alpha__ || defined __ia64__ || defined __hppa_ \
|| defined __sparc__
/* The utimes syscall has been available for some architectures
forever. For x86 it was introduced after 2.5.75. */
#if defined __alpha__ || defined __ia64__ || defined __hppa__ \
|| defined __sparc__ \
|| (__LINUX_KERNEL_VERSION > 132427 && defined __i386__)
# define __ASSUME_UTIMES 1
#endif