Roberto Ragusa wrote:
Very easy. You obviously need the original file, then diff -u theoriginalfile.c modifiedfile.c >mypatch.diff If you want to diff a directory diff -ur /aaa/bbb/ccc-1.3 /aaa/bbb/ccc-1.3_modified >mypatch.diff (u=human readable, r=recursive) It's almost easier to create a diff than to apply it (when you have to choose between option "-p0" and "-p1"). Regards.
If you have it in a cvs then the easiest way is to simply run cvs diff -u >mypatch.diff No need to check out another copy this way -- Charlie Brej APT Group, Dept. Computer Science, University of Manchester Web: http://www.cs.man.ac.uk/~brejc8/ Tel: +44 161 275 6844 Mail: IT302, Manchester University, Manchester, M13 9PL, UK