about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/sparc/bits/stat.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-02-26 01:43:53 +0000
committerUlrich Drepper <drepper@redhat.com>2009-02-26 01:43:53 +0000
commit3e6b0a28ebc2319262b318790019558f78249c8b (patch)
treedb13f5c985e08c31bb7dbe3a46def48401623618 /sysdeps/unix/sysv/linux/sparc/bits/stat.h
parent2e6d6bacc2f0a30f7dbebc977d52904d4a823c45 (diff)
downloadglibc-3e6b0a28ebc2319262b318790019558f78249c8b.tar.gz
glibc-3e6b0a28ebc2319262b318790019558f78249c8b.tar.xz
glibc-3e6b0a28ebc2319262b318790019558f78249c8b.zip
* include/features.h: Define macros for XPG7/POSIX 2008.
	* sysdeps/unix/sysv/linux/bits/stat.h: Protect UTIME_NOW and
	UTIME_OMIT only with __USE_ATFILE.
	* sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
	* sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise.
	* io/sys/stat.h: Move mknodat definition into same conditional as
	mknod.
	* time/sys/time.h: futimesat is not among the functions accepted
	into the POSIX standard.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sparc/bits/stat.h')
-rw-r--r--sysdeps/unix/sysv/linux/sparc/bits/stat.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/bits/stat.h b/sysdeps/unix/sysv/linux/sparc/bits/stat.h
index 17c912a70f..7426e16806 100644
--- a/sysdeps/unix/sysv/linux/sparc/bits/stat.h
+++ b/sysdeps/unix/sysv/linux/sparc/bits/stat.h
@@ -1,5 +1,4 @@
-/* Copyright (C) 1992, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2006
-   Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1995-2002, 2006, 2009 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -164,8 +163,7 @@ struct stat64
 #define	__S_IWRITE	0200	/* Write by owner.  */
 #define	__S_IEXEC	0100	/* Execute by owner.  */
 
-#if defined __USE_ATFILE || defined __USE_GNU
-/* XXX This will change to the macro for the next 2008 POSIX revision.  */
+#ifdef __USE_ATFILE
 # define UTIME_NOW	((1l << 30) - 1l)
 # define UTIME_OMIT	((1l << 30) - 2l)
 #endif