Messages in this thread |  | | Subject | Re: Making diff(1) of linux kernels faster | From | Sean Neakums <> | Date | Thu, 18 Oct 2001 15:48:29 +0100 |
| |
begin Horst von Brand quotation: > =?iso-8859-1?q?willy=20tarreau?= <wtarreau@yahoo.fr> 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.
-- ///////////////// | | The spark of a pin <sneakums@zork.net> | (require 'gnu) | dropping, falling feather-like. \\\\\\\\\\\\\\\\\ | | There is too much noise. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |