aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFlávio Cruz <flaviocruz@gmail.com>2018-03-05 23:25:00 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-05 23:30:50 +0100
commitbbe762d1e596d7f5a1cd560a229387cb856916e0 (patch)
treec1414f343ce2148395308ab455353484b833f761 /ChangeLog
parenta1ede3a40249ea2efe54e182998bd8519e37a31e (diff)
downloadglibc-bbe762d1e596d7f5a1cd560a229387cb856916e0.tar
glibc-bbe762d1e596d7f5a1cd560a229387cb856916e0.tar.gz
glibc-bbe762d1e596d7f5a1cd560a229387cb856916e0.tar.bz2
glibc-bbe762d1e596d7f5a1cd560a229387cb856916e0.zip
hurd: Define and pass UTIME_NOW and UTIME_OMIT to new file_utimens RPC
* sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW, UTIME_OMIT): New macros. * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens before reverting to converting time spec to time value and calling __file_utimes. * sysdeps/mach/hurd/utime-helper.c: New file. * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c". (__futimes): Try to use utime_ts_from_tval and __file_utimens before reverting to utime_tvalue_from_tval and __file_utimes. * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c". (__lutimes): Just call hurd_futimens after lookup. * sysdeps/mach/hurd/utimes.c: Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog15
1 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f586c3f55e..989881e972 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
+
+ * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
+ UTIME_OMIT): New macros.
+ * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
+ before reverting to converting time spec to time value and calling
+ __file_utimes.
+ * sysdeps/mach/hurd/utime-helper.c: New file.
+ * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
+ (__futimes): Try to use utime_ts_from_tval and __file_utimens before
+ reverting to utime_tvalue_from_tval and __file_utimes.
+ * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
+ (__lutimes): Just call hurd_futimens after lookup.
+ * sysdeps/mach/hurd/utimes.c: Likewise.
+
2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
* bits/sigaction.h: Add include guard.