diff options
| author | Joseph Myers <joseph@codesourcery.com> | 2009-02-26 23:25:24 +0000 |
|---|---|---|
| committer | Joseph Myers <joseph@codesourcery.com> | 2009-02-26 23:25:24 +0000 |
| commit | 2e3804efbfcf4a7279d543181c0a63ff73f5f3c7 (patch) | |
| tree | 4c02fd8c99c32ad1911ca92143d5459f5aa4fbbe | |
| parent | 6f5d2fa8aa2f0d3d23780a769fe85f4f4fa73c2e (diff) | |
| download | glibc-2e3804efbfcf4a7279d543181c0a63ff73f5f3c7.tar.xz glibc-2e3804efbfcf4a7279d543181c0a63ff73f5f3c7.zip | |
* sysdeps/unix/sysv/linux/mips/bits/stat.h: Protect UTIME_NOW and
UTIME_OMIT only with __USE_ATFILE.
| -rw-r--r-- | ChangeLog.mips | 5 | ||||
| -rw-r--r-- | sysdeps/unix/sysv/linux/mips/bits/stat.h | 5 |
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog.mips b/ChangeLog.mips index a52748add1..d3d575a9b7 100644 --- a/ChangeLog.mips +++ b/ChangeLog.mips @@ -1,3 +1,8 @@ +2009-02-26 Joseph Myers <joseph@codesourcery.com> + + * sysdeps/unix/sysv/linux/mips/bits/stat.h: Protect UTIME_NOW and + UTIME_OMIT only with __USE_ATFILE. + 2009-02-13 Joseph Myers <joseph@codesourcery.com> [BZ #7040] diff --git a/sysdeps/unix/sysv/linux/mips/bits/stat.h b/sysdeps/unix/sysv/linux/mips/bits/stat.h index 4e0e30f9ed..af042516e2 100644 --- a/sysdeps/unix/sysv/linux/mips/bits/stat.h +++ b/sysdeps/unix/sysv/linux/mips/bits/stat.h @@ -1,5 +1,5 @@ /* Copyright (C) 1992, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, - 2007 Free Software Foundation, Inc. + 2007, 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 @@ -254,8 +254,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 |
