[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] Hurd branch, master, updated. v0.9-175-g31ff1ee
From: |
Samuel Thibault |
Subject: |
[SCM] Hurd branch, master, updated. v0.9-175-g31ff1ee |
Date: |
Sun, 28 Apr 2019 14:51:21 -0400 (EDT) |
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 31ff1ee3d4b344a5c17fb04f5cf100db6222ecf0 (commit)
from da27fb577d5f0b3e86c5ea0408383eef7a7bef2e (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 31ff1ee3d4b344a5c17fb04f5cf100db6222ecf0
Author: Samuel Thibault <address@hidden>
Date: Sun Apr 28 20:44:34 2019 +0200
diskfs: Fix rename_dir(excl=1) for source directories
Starting from coreutils 8.30 which uses
renameat2(flag=RENAME_NOREPLACE), we need to have excl=1 to behave
correctly, notably in this case:
$ mkdir a
$ mkdir b
$ touch b/t
$ mv b a
diskfs_rename("b", "a", excl=1) called by mv shall return EEXIST.
* libdiskfs/diskfs.h (diskfs_rename_dir): Add `excl' parameter.
* doc/hurd.texi (diskfs_rename_dir): Document `excl' parameter.
* libdiskfs/dir-renamed.c (diskfs_rename_dir): Add `excl' parameter.
Return EEXIST when target exists and `excl' is not 0.
* libdiskfs/dir-rename.c (diskfs_S_dir_rename): Pass `excl' to
diskfs_rename_dir.
-----------------------------------------------------------------------
Summary of changes:
doc/hurd.texi | 6 ++++--
libdiskfs/dir-rename.c | 2 +-
libdiskfs/dir-renamed.c | 10 ++++++++--
libdiskfs/diskfs.h | 5 +++--
4 files changed, 16 insertions(+), 7 deletions(-)
hooks/post-receive
--
Hurd
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] Hurd branch, master, updated. v0.9-175-g31ff1ee,
Samuel Thibault <=