]> git.ipfire.org Git - thirdparty/glibc.git/commit
hurd: Add renameat2 support for RENAME_NOREPLACE
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 27 Feb 2019 15:53:13 +0000 (07:53 -0800)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 27 Feb 2019 17:42:44 +0000 (09:42 -0800)
commit1b2184177553ce4ef8458034927ef50854be2af6
treeb91ea628502ebbb23a2c9beae90917262cede379
parentf627dd4da804c00b5e89e5e2c488c2bad6205262
hurd: Add renameat2 support for RENAME_NOREPLACE

* include/stdio.h (__renameat2): New hidden prototype.
* stdio-common/renameat2.c (__renameat2): Add hidden definition.
* sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
* sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function, and
add support for RENAME_NOREPLACE.
* sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
ChangeLog
include/stdio.h
stdio-common/renameat2.c
sysdeps/mach/hurd/renameat.c
sysdeps/mach/hurd/renameat2.c [new file with mode: 0644]
sysdeps/unix/sysv/linux/renameat2.c