From: Pádraig Brady
Date: Mon, 3 Apr 2023 17:06:22 +0000 (+0100) Subject: backupfile: fix bug when renaming from subdirectory X-Git-Tag: v1.0~1512 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=94496522f25f19673acb759409d4cdcc6038daee;p=gnulib.git backupfile: fix bug when renaming from subdirectory * lib/backupfile.c (backup_internal): Ensure we use the appropriate offset if operating on a subdirectory, i.e., on an updated sdir. Fixes https://bugs.gnu.org/62607 --- diff --git a/ChangeLog b/ChangeLog index 8f7b5ca8e4..b3d4ca389f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2023-04-04 Pádraig Brady
+
+ backupfile: fix bug when renaming from subdirectory
+ * lib/backupfile.c (backup_internal): Ensure we use the
+ appropriate offset if operating on a subdirectory,
+ i.e., on an updated sdir.
+ Fixes https://bugs.gnu.org/62607
+
2023-04-04 Bruno Haible