]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: remove rename macro
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 30 Aug 2023 06:52:07 +0000 (23:52 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 30 Aug 2023 06:57:40 +0000 (23:57 -0700)
* src/copy.h (rename) [RENAME_TRAILING_SLASH_BUG]:
Remove: unused, now that Gnulib takes care of this.

NEWS
src/copy.h

diff --git a/NEWS b/NEWS
index 5b4ee4d6f9dffe93d765bef3c2a1dd70056eb72f..c00ff0cf20444aa109df398cf5bb22b219d2fa94 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,11 @@ GNU coreutils NEWS                                    -*- outline -*-
 
 * Noteworthy changes in release ?.? (????-??-??) [?]
 
+** Bug fixes
+
+  numfmt options like --suffix no longer have an arbitrary 127-byte limit.
+  [bug introduced with numfmt in coreutils-8.21]
+
 
 * Noteworthy changes in release 9.4 (2023-08-29) [stable]
 
index 1c43ea32ae590a01f9df62fe444c249b1c32e79e..f89f3457f2bd00919abf69552f38d675c5a6b5f7 100644 (file)
@@ -294,15 +294,6 @@ struct cp_options
   Hash_table *src_info;
 };
 
-/* Arrange to make rename calls go through the wrapper function
-   on systems with a rename function that fails for a source file name
-   specified with a trailing slash.  */
-# if RENAME_TRAILING_SLASH_BUG
-int rpl_rename (char const *, char const *);
-#  undef rename
-#  define rename rpl_rename
-# endif
-
 bool copy (char const *src_name, char const *dst_name,
            int dst_dirfd, char const *dst_relname,
            int nonexistent_dst, const struct cp_options *options,