This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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]

typo in bits/statvfs.h


Hi,

The bits/statvfs.h for Linux defines ST_NODIRATIME to 1025, but <sys/mount.h>
and the Linux kernel header <linux/fs.h> defines MS_NODIRATIME to 2048.

Here is a fix, together with a typo fix also in bits/statvfs.h.


2002-07-06  Bruno Haible  <bruno@clisp.org>

	* sysdeps/unix/sysv/linux/bits/statvfs.h (ST_NODIRATIME): Set to
	2048.

diff -r -c3 glibc-20020627.bak/sysdeps/unix/sysv/linux/bits/statvfs.h glibc-20020627/sysdeps/unix/sysv/linux/bits/statvfs.h
--- glibc-20020627.bak/sysdeps/unix/sysv/linux/bits/statvfs.h	Tue Jan 22 22:02:18 2002
+++ glibc-20020627/sysdeps/unix/sysv/linux/bits/statvfs.h	Sat Jul  6 18:10:49 2002
@@ -69,7 +69,7 @@
 #endif
 
 /* Definitions for the flag in `f_flag'.  These definitions should be
-   kept in sync which the definitions in <sys/mount.h>.  */
+   kept in sync with the definitions in <sys/mount.h>.  */
 enum
 {
   ST_RDONLY = 1,		/* Mount read-only.  */
@@ -94,7 +94,7 @@
 # define ST_IMMUTABLE	ST_IMMUTABLE
   ST_NOATIME = 1024,		/* Do not update access times.  */
 # define ST_NOATIME	ST_NOATIME
-  ST_NODIRATIME			/* Do not update directory access times.  */
+  ST_NODIRATIME = 2048		/* Do not update directory access times.  */
 # define ST_NODIRATIME	ST_NODIRATIME
 #endif	/* Use GNU.  */
 };
diff -r -c3 glibc-20020627.bak/sysdeps/unix/sysv/linux/alpha/bits/statvfs.h glibc-20020627/sysdeps/unix/sysv/linux/alpha/bits/statvfs.h
--- glibc-20020627.bak/sysdeps/unix/sysv/linux/alpha/bits/statvfs.h	Tue Jan 22 22:02:18 2002
+++ glibc-20020627/sysdeps/unix/sysv/linux/alpha/bits/statvfs.h	Sat Jul  6 18:10:55 2002
@@ -66,7 +66,7 @@
 #endif
 
 /* Definitions for the flag in `f_flag'.  These definitions should be
-   kept in sync which the definitions in <sys/mount.h>.  */
+   kept in sync with the definitions in <sys/mount.h>.  */
 enum
 {
   ST_RDONLY = 1,		/* Mount read-only.  */
diff -r -c3 glibc-20020627.bak/sysdeps/unix/sysv/linux/ia64/bits/statvfs.h glibc-20020627/sysdeps/unix/sysv/linux/ia64/bits/statvfs.h
--- glibc-20020627.bak/sysdeps/unix/sysv/linux/ia64/bits/statvfs.h	Tue Jan 22 22:02:18 2002
+++ glibc-20020627/sysdeps/unix/sysv/linux/ia64/bits/statvfs.h	Sat Jul  6 18:11:07 2002
@@ -66,7 +66,7 @@
 #endif
 
 /* Definitions for the flag in `f_flag'.  These definitions should be
-   kept in sync which the definitions in <sys/mount.h>.  */
+   kept in sync with the definitions in <sys/mount.h>.  */
 enum
 {
   ST_RDONLY = 1,		/* Mount read-only.  */
diff -r -c3 glibc-20020627.bak/sysdeps/unix/sysv/linux/sparc/bits/statvfs.h glibc-20020627/sysdeps/unix/sysv/linux/sparc/bits/statvfs.h
--- glibc-20020627.bak/sysdeps/unix/sysv/linux/sparc/bits/statvfs.h	Tue Jan 22 22:02:18 2002
+++ glibc-20020627/sysdeps/unix/sysv/linux/sparc/bits/statvfs.h	Sat Jul  6 18:11:02 2002
@@ -76,7 +76,7 @@
 #endif
 
 /* Definitions for the flag in `f_flag'.  These definitions should be
-   kept in sync which the definitions in <sys/mount.h>.  */
+   kept in sync with the definitions in <sys/mount.h>.  */
 enum
 {
   ST_RDONLY = 1,		/* Mount read-only.  */


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