Hash :
2522322e
Author :
Date :
2018-07-05T09:22:09
renameatu: rename from renameat2 It's looking like Glibc will add a renameat2 function that is incompatible with Gnulib renameat2; see: https://sourceware.org/ml/libc-alpha/2018-07/msg00064.html To help avoid future confusion, rename renameat2 to something else. Use the name 'renameatu', as the Gnulib function is close to the Glibc function. Perhaps someday there will also be a renameat2 Gnulib module, which mimicks the future glibc renameat2, but that can wait as nobody seems to need such a module now. * NEWS: Mention this. * lib/renameatu.c: Rename from lib/renameat2.c. * lib/renameatu.h: Rename from lib/renameat2.h. * modules/renameat2: Rename from modules/renameatu. * modules/renameat2-tests: Rename from modules/renameat2-tests. All uses of "renameat2" in identifiers or file name changed to "renameatu", except for two instances in lib/renameatu.c that deal with the Linux kernel's renameat2 syscall.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
Description:
Rename a file to a backup name.
Files:
lib/backup-internal.h
lib/backup-rename.c
lib/backupfile.c
lib/backupfile.h
m4/backupfile.m4
Depends-on:
argmatch
closedir
d-ino
dirent-safer
dirfd
dirname-lgpl
fcntl
memcmp
opendir
renameatu
readdir
stdbool
configure.ac:
gl_BACKUPFILE
Makefile.am:
lib_SOURCES += backupfile.c backup-rename.c
Include:
"backupfile.h"
License:
GPL
Maintainer:
Paul Eggert, Jim Meyering