From 8463f41e4d0c3c05c364ba93b6f5ce8fec2737bc Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 29 Aug 2023 23:52:07 -0700 Subject: [PATCH] maint: remove rename macro * src/copy.h (rename) [RENAME_TRAILING_SLASH_BUG]: Remove: unused, now that Gnulib takes care of this. --- NEWS | 5 +++++ src/copy.h | 9 --------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/NEWS b/NEWS index 5b4ee4d6f9..c00ff0cf20 100644 --- 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] diff --git a/src/copy.h b/src/copy.h index 1c43ea32ae..f89f3457f2 100644 --- a/src/copy.h +++ b/src/copy.h @@ -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, -- 2.47.2