public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
To: libc-alpha@sourceware.org
Cc: Samuel Thibault <samuel.thibault@ens-lyon.org>
Subject: [hurd,commited] hurd: Fix exposition of UTIME_NOW, UTIME_OMIT
Date: Mon, 02 Apr 2018 15:07:00 -0000	[thread overview]
Message-ID: <20180402150734.1024-1-samuel.thibault@ens-lyon.org> (raw)

	* sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
	(UTIME_NOW, UTIME_OMIT): Define macros.
---
 ChangeLog                     |  3 +++
 sysdeps/mach/hurd/bits/stat.h | 10 +++++-----
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ff6787cc7b..a3cb00e7cd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -223,6 +223,9 @@
 	* 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>
diff --git a/sysdeps/mach/hurd/bits/stat.h b/sysdeps/mach/hurd/bits/stat.h
index e354a05237..cb8680e000 100644
--- a/sysdeps/mach/hurd/bits/stat.h
+++ b/sysdeps/mach/hurd/bits/stat.h
@@ -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 */
-- 
2.16.2

                 reply	other threads:[~2018-04-02 15:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180402150734.1024-1-samuel.thibault@ens-lyon.org \
    --to=samuel.thibault@ens-lyon.org \
    --cc=libc-alpha@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).