From 2522322e5304e7d86c63e607e2bc83c8d8b0a889 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 5 Jul 2018 09:22:09 -0700 Subject: 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. --- modules/backupfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/backupfile') 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 -- cgit v1.2.1