summaryrefslogtreecommitdiff
path: root/modules/backupfile
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2018-07-05 09:22:09 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2018-07-05 09:25:34 -0700
commit2522322e5304e7d86c63e607e2bc83c8d8b0a889 (patch)
tree7a22f5c2a21d116f7ae52b43e1a76685944592b6 /modules/backupfile
parent60e8b9303d8ce312bb2322d4801ed08678f93d1e (diff)
downloadgnulib-2522322e5304e7d86c63e607e2bc83c8d8b0a889.tar.gz
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.
Diffstat (limited to 'modules/backupfile')
-rw-r--r--modules/backupfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/backupfile b/modules/backupfile
index 9e4efd76d3..e9933fbc0a 100644
--- a/modules/backupfile
+++ b/modules/backupfile
@@ -18,7 +18,7 @@ dirname-lgpl
fcntl
memcmp
opendir
-renameat2
+renameatu
readdir
stdbool