]> Savannah Git Hosting - gnulib.git/commit
backupfile: fix bug when renaming from subdirectory
authorPádraig Brady <P@draigBrady.com>
Mon, 3 Apr 2023 17:06:22 +0000 (18:06 +0100)
committerPádraig Brady <P@draigBrady.com>
Tue, 4 Apr 2023 10:39:33 +0000 (11:39 +0100)
commit94496522f25f19673acb759409d4cdcc6038daee
tree27f0a96e79e806faaa99bb2b90f5723db9153f82
parent6b4ef50c64e606f11afcd9e8a063f05c835bb4a6
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
lib/backupfile.c