summaryrefslogtreecommitdiffstats
path: root/gl/lib/rename.c
diff options
context:
space:
mode:
Diffstat (limited to 'gl/lib/rename.c')
-rw-r--r--gl/lib/rename.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gl/lib/rename.c b/gl/lib/rename.c
index aa3afd8..b6c93db 100644
--- a/gl/lib/rename.c
+++ b/gl/lib/rename.c
@@ -1,6 +1,6 @@
/* Work around rename bugs in some systems.
- Copyright (C) 2001-2003, 2005-2006, 2009-2023 Free Software Foundation, Inc.
+ Copyright (C) 2001-2003, 2005-2006, 2009-2024 Free Software Foundation, Inc.
This file is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
@@ -351,7 +351,7 @@ rpl_rename (char const *src, char const *dst)
return -1;
}
# if RENAME_HARD_LINK_BUG
- if (SAME_INODE (src_st, dst_st))
+ if (psame_inode (&src_st, &dst_st))
return 0;
# endif /* RENAME_HARD_LINK_BUG */
dst_exists = true;