[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] Hurd branch, master, updated. v0.9-134-g82ab5bb
From: |
Samuel Thibault |
Subject: |
[SCM] Hurd branch, master, updated. v0.9-134-g82ab5bb |
Date: |
Mon, 5 Mar 2018 14:27:26 -0500 (EST) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".
The branch, master has been updated
via 82ab5bbac5d115b7cae4f3ca28f3ba8cce9431ba (commit)
from 2ed669b5b1da77e80fff6dc2f72f11e266479a8c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 82ab5bbac5d115b7cae4f3ca28f3ba8cce9431ba
Author: Flávio Cruz <address@hidden>
Date: Mon Mar 5 02:58:41 2018 +0100
Add file_utimens RPC to use a struct timespec
and update the servers to use UTIME_NOW and UTIME_OMIT.
* console-client/trans.c (netfs_attempt_utimes): Do not set current time
ourself.
* console/console.c (netfs_attempt_utimes): Likewise.
* ftpfs/netfs.c (netfs_attempt_utimes): Likewise.
* hostmux/node.c (netfs_attempt_utimes): Likewise.
* usermux/node.c (netfs_attempt_utimes): Likewise.
* nfs/ops.c (netfs_attempt_utimes): Likewise.
* doc/hurd.texi (file_utimens): Add documentation.
* hurd/fs.defs (file_utimens): Add RPC.
* libdiskfs/file-utimes.c (diskfs_S_file_utimes): Move implementation
and replace with translation layer with...
(diskfs_S_file_utimens): ... new function.
* libnetfs/file-utimes.c (netfs_S_file_utimes): Likewise with...
(netfs_S_file_utimens): ... new function.
* libnetfs/init-init.c: Include <error.h>.
(netfs_mtime): New variable.
(netfs_init): New function.
* libnetfs/netfs.h (netfs_attempt_utimes): Update documentation.
* libnetfs/priv.h (netfs_mtime): Declare variable.
* libtreefs/s-file.c (treefs_S_file_utimes): Convert time values and
call treefs_s_file_utimens instead of treefs_s_file_utimes.
* libtreefs/treefs-hooks.h: Replace TREEFS_HOOK_S_FILE_UTIMES with
TREEFS_HOOK_S_FILE_UTIMENS.
* libtreefs/treefs-s-hooks.h: Replace s_file_utimes with s_file_utimens.
* libtrivfs/file-utimes.c (trivfs_S_file_utimens): New function.
* libtrivfs/times.c (trivfs_set_atime): Try to use file_utimens before
using file_utimes.
(trivfs_set_mtime): Likewise.
* nfsd/ops.c (complete_setattr): Likewise.
* trans/fakeroot.c (netfs_attempt_utimes): Likewise.
* nfs/nfs.c (xdr_encode_sattr_times): Do not set atime or mtime when
they are NULL.
* configure.ac: Look for file_futimens, and define UTIME_NOW/OMIT, for
compatibility with old glibcs.
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 5 ++++
console-client/trans.c | 8 ++----
console/console.c | 8 ++----
doc/hurd.texi | 8 ++++++
ftpfs/netfs.c | 8 ++----
hostmux/node.c | 12 +++------
hurd/fs.defs | 10 ++++++++
libdiskfs/file-utimes.c | 41 ++++++++++++++++++++++++-----
libnetfs/file-utimes.c | 52 +++++++++++++++++++++++++++----------
libnetfs/init-init.c | 7 +++++
libnetfs/netfs.h | 2 +-
libnetfs/priv.h | 2 ++
libtreefs/s-file.c | 30 +++++++++++++++++++++-
libtreefs/treefs-hooks.h | 2 +-
libtreefs/treefs-s-hooks.h | 6 ++---
libtrivfs/file-utimes.c | 34 ++++++++++++++++++++++++
libtrivfs/times.c | 64 +++++++++++++++++++++++++++++++---------------
nfs/nfs.c | 46 +++++++++++++++++++++++++--------
nfs/ops.c | 15 +++--------
nfsd/ops.c | 62 +++++++++++++++++++++++++++-----------------
trans/fakeroot.c | 47 ++++++++++++++++++++++++----------
usermux/node.c | 8 ++----
22 files changed, 341 insertions(+), 136 deletions(-)
hooks/post-receive
--
Hurd
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] Hurd branch, master, updated. v0.9-134-g82ab5bb,
Samuel Thibault <=