From e1eaa8671d133061717186ad54b5d711565f7b95 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?=
Date: Mon, 3 Apr 2023 18:06:22 +0100 Subject: [PATCH] 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 --- ChangeLog | 8 ++++++++ lib/backupfile.c | 7 ++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index c1b9eac82c..698d7b31db 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