commit:     21ae7e5f4825f082191a5adcabccb7c642b81c86
Author:     Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Tue Aug  5 10:30:19 2025 +0000
Commit:     Kerin Millar <kfm <AT> plushkava <DOT> net>
CommitDate: Tue Aug  5 10:31:58 2025 +0000
URL:        https://gitweb.gentoo.org/proj/locale-gen.git/commit/?id=21ae7e5f

Drop the is_eq_file subroutine

The is_eq_file() subroutine is no longer used.

See-also: 4177dab14cfee01f5b9b29f3cbbb38635bba41c5
Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>

 locale-gen | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/locale-gen b/locale-gen
index 45026ab..5e2c2c9 100755
--- a/locale-gen
+++ b/locale-gen
@@ -520,12 +520,6 @@ sub get_nprocs () {
        return $nproc;
 }
 
-sub is_eq_file ($path1, $path2) {
-       # The -ef primary is standard as of POSIX.1-2024.
-       local @ENV{'PATH1', 'PATH2'} = ($path1, $path2);
-       return 0 == system q{ test "$PATH1" -ef "$PATH2" };
-}
-
 sub plural ($int) {
        return $int == 1 ? '' : 's';
 }

Reply via email to