[hurd,commited] hurd: add ST_RELATIME

Samuel Thibault samuel.thibault@ens-lyon.org
Sun Sep 27 16:24:38 GMT 2020


sysdeps/mach/hurd/bits/statvfs.h (ST_RELATIME): New macro.
---
 sysdeps/mach/hurd/bits/statvfs.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sysdeps/mach/hurd/bits/statvfs.h b/sysdeps/mach/hurd/bits/statvfs.h
index 12a4729b62..e5e5625af3 100644
--- a/sysdeps/mach/hurd/bits/statvfs.h
+++ b/sysdeps/mach/hurd/bits/statvfs.h
@@ -89,7 +89,9 @@ enum
 # define ST_NOEXEC	ST_NOEXEC
   ST_SYNCHRONOUS = 16,
 # define ST_SYNCHRONOUS	ST_SYNCHRONOUS
-  ST_NOATIME = 32		/* Do not update access times.  */
+  ST_NOATIME = 32,		/* Do not update access times.  */
 # define ST_NOATIME	ST_NOATIME
+  ST_RELATIME = 64		/* Update atime relative to mtime/ctime.  */
+# define ST_RELATIME	ST_RELATIME
 #endif
 };
-- 
2.28.0



More information about the Libc-alpha mailing list