Change #259910
| Category | gcoreutils |
| Changed by | Collin Funk <collin.funk1@gmail.com> |
| Changed at | Thu 05 Mar 2026 03:42:48 |
| Repository | git://git.savannah.gnu.org/coreutils.git |
| Project | gcoreutils |
| Branch | master |
| Revision | b7ff7e7c2cf9b65d7d941b39a3a0992e7bc6e6be |
Comments
install: allow the combination of --compare and --preserve-timestamps * NEWS: Mention the improvement. * src/install.c (enum copy_status): New type to let the caller know if the copy was performed or skipped. (copy_file): Return the new type instead of bool. Reduce variable scope. (install_file_in_file): Only strip the file if the copy was performed. Update the timestamps if the copy was skipped. (main): Don't error when --compare and --preserve-timestamps are combined. * tests/install/install-C.sh: Add some test cases.
Changed files
- NEWS
- src/install.c
- tests/install/install-C.sh