I'm looking at the end of tramp-handle-write-region and I can see that when file-precious-flag is set, checksums are run to verify that the file was written as expected.
However, file-precious-flag documentation says "non-nil means protect against I/O errors while saving files" and goes on to explain how this is achieved by writing to a temporary file and then swapping out the temporary file against the target. Wouldn't it make sense for tramp to do the same? Unless I'm missing something, tramp will raise an error when the checksums don't match but it seems at that point the damage is already done. _______________________________________________ Tramp-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/tramp-devel
