]> sourceware.org Git - glibc.git/commitdiff
hurd: Fix exposition of UTIME_NOW, UTIME_OMIT
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 2 Apr 2018 15:07:11 +0000 (17:07 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 2 Apr 2018 15:07:11 +0000 (17:07 +0200)
* sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
(UTIME_NOW, UTIME_OMIT): Define macros.

ChangeLog
sysdeps/mach/hurd/bits/stat.h

index ff6787cc7b610eed01e00b0bd71b6457261e058a..a3cb00e7cd4d83fb78745f4d58622da7458f3867 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
        * README: Remove the mention of out-of-tree patches needed for
        GNU/Hurd.
 
+       * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
+       (UTIME_NOW, UTIME_OMIT): Define macros.
+
 2018-04-02  Agustina Arzille  <avarzille@riseup.net>
             Amos Jeffries  <squid3@treenet.co.nz>
             David Michael  <fedora.dm0@gmail.com>
index e354a05237af3e493169c969226cb33e2624d55f..cb8680e000be9dfeb8016f04853d46e41a85843d 100644 (file)
@@ -244,11 +244,6 @@ struct stat64
 # define SF_NOUNLINK   0x00100000      /* file may not be removed or renamed */
 # define SF_SNAPSHOT   0x00200000      /* snapshot inode */
 
-#ifdef __USE_ATFILE
-# define UTIME_NOW  -1 /* corresponds to the current time */
-# define UTIME_OMIT -2 /* target time is omitted */
-#endif
-
 __BEGIN_DECLS
 
 /* Set file flags for FILE to FLAGS.  */
@@ -260,4 +255,9 @@ extern int fchflags (int __fd, unsigned long int __flags) __THROW;
 __END_DECLS
 #endif
 
+#ifdef __USE_ATFILE
+# define UTIME_NOW  -1 /* corresponds to the current time */
+# define UTIME_OMIT -2 /* target time is omitted */
+#endif
+
 #endif /* bits/stat.h */
This page took 0.070151 seconds and 5 git commands to generate.