Making diff(1) of linux kernels faster
begin Horst von Brand quotation:
Quoted 8 lines
Quoted 3 lines · =?iso-8859-1?q?willy=20tarreau?= <[email protected]> said:
Be very careful not to modify a multi-linked file, or it will be damaged in all trees and won't be seen by diff. your editor must unlink before saving.
Most don't. ed(1), vi(1) and emacs(1) are careful tro write to the very same file. jed(1) is the only outlier I'm aware of...
If Emacs is configured to save backups (it is shipped with this option on by default) the existing file is renamed to the backup name and the new, changed file is saved in a fresh file. Thus the trick of diffing two co-linked trees of files should work as expected.
Emacs users should look in the info node "(emacs)Backup Copying" for complete information on this.
Signature · 3 lines
///////////////// | | The spark of a pin <[email protected]> | (require 'gnu) | dropping, falling feather-like. \\\\\\\\\\\\\\\\\ | | There is too much noise.