This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[MIPS,M68K] Update bits/stat.h


This patch updates the MIPS and m68k versions of bits/stat.h to match a 
recent change to the libc copies.

I've committed the MIPS change; OK to commit the m68k one?

Index: ChangeLog.m68k
===================================================================
RCS file: /cvs/glibc/ports/ChangeLog.m68k,v
retrieving revision 1.9
diff -u -r1.9 ChangeLog.m68k
--- ChangeLog.m68k	10 Aug 2008 08:43:09 -0000	1.9
+++ ChangeLog.m68k	26 Feb 2009 23:23:43 -0000
@@ -1,3 +1,8 @@
+2009-02-26  Joseph Myers  <joseph@codesourcery.com>
+
+	* sysdeps/unix/sysv/linux/m68k/bits/stat.h: Protect UTIME_NOW and
+	UTIME_OMIT only with __USE_ATFILE.
+
 2008-08-10  Joseph Myers  <joseph@codesourcery.com>
 
 	* sysdeps/m68k/bits/byteswap.h: Allow inclusion from <endian.h>.
Index: ChangeLog.mips
===================================================================
RCS file: /cvs/glibc/ports/ChangeLog.mips,v
retrieving revision 1.72
diff -u -r1.72 ChangeLog.mips
--- ChangeLog.mips	13 Feb 2009 17:38:50 -0000	1.72
+++ ChangeLog.mips	26 Feb 2009 23:23:44 -0000
@@ -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]
Index: sysdeps/unix/sysv/linux/m68k/bits/stat.h
===================================================================
RCS file: /cvs/glibc/ports/sysdeps/unix/sysv/linux/m68k/bits/stat.h,v
retrieving revision 1.7
diff -u -r1.7 stat.h
--- sysdeps/unix/sysv/linux/m68k/bits/stat.h	10 Aug 2008 08:43:09 -0000	1.7
+++ sysdeps/unix/sysv/linux/m68k/bits/stat.h	26 Feb 2009 23:23:44 -0000
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992,95,96,97,98,99,2000,2001,2002,2008
+/* Copyright (C) 1992,95,96,97,98,99,2000,2001,2002,2008,2009
      Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -163,8 +163,7 @@
 #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
Index: sysdeps/unix/sysv/linux/mips/bits/stat.h
===================================================================
RCS file: /cvs/glibc/ports/sysdeps/unix/sysv/linux/mips/bits/stat.h,v
retrieving revision 1.17
diff -u -r1.17 stat.h
--- sysdeps/unix/sysv/linux/mips/bits/stat.h	12 Sep 2007 12:57:41 -0000	1.17
+++ sysdeps/unix/sysv/linux/mips/bits/stat.h	26 Feb 2009 23:23:44 -0000
@@ -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 @@
 #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

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]