install: dereference source symlinks when comparing
commit403cb48413519396b7df0943cb5fbab5b3d5b3e2
authorPádraig Brady <P@draigBrady.com>
Mon, 19 Aug 2024 11:43:09 +0000 (19 12:43 +0100)
committerPádraig Brady <P@draigBrady.com>
Mon, 19 Aug 2024 13:47:07 +0000 (19 14:47 +0100)
tree47c46d5fe4fc90aca7524652758451f0be4f2ab3
parent9e60f2db903b17c1a31e24b89bda90a12446459d
install: dereference source symlinks when comparing

* NEWS: Mention the change in behavior.
* src/install.c (need_copy): s/lstat/stat/ for the source.
* tests/install/install-C.sh: Add test cases
(and improve existing test case which wan't valid
due to the existing non standard modes on test files).
Addresses https://bugs.gnu.org/72707
NEWS
src/install.c
tests/install/install-C.sh