]> 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)
committerBruno Haible <bruno@clisp.org>
Sat, 8 Apr 2023 11:01:04 +0000 (13:01 +0200)
commit9bd1c5b4162fef251659ab16e244a821dc339b0a
tree0a7e5f8fa3dc5f42101e76ca0bf1643981d37269
parentd85ebd2f36cb9c9d1709133f0e22e32ebc6309e3
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