The original cello.c must be retained, because when an RPM is built, the original file is used, not the modified one. $ diff -Naur cello.c.orig cello.c > cello-output-first-patch.patch r (or -recursive) - Recursively compares any subdirectories that are found.įor more information about common arguments for the diff utility, see the diff manual page. This is an easily readable format that allows fuzzy matching when applying the patch to a changed source tree. -u (or -U NUM or -unified) - Returns output in the form of output NUM (default 3) lines of unified context. As a result, the files that diff classifies as binaries are not ignored.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |