On 07/18/2014 11:20 AM, Peter Knowles wrote: > > When I run the other patches, it'd report something like "Hunk #1 > succeed at 12 (offset -1 lines).", compared to when I ran your patch (as > directed above) it only spits out "patching file Mailman/Mailbox.py" > with no indication whether it was successful or not. > > My question regarding this is, is this simply due to the way your patch > was written, or does the "Hunk #X succeeded" message get generated by > the "patch" program?
patch issues messages such as the one you quote when there is some discrepancy between the file being patched and the patch itself, but the discrepancy (in the above case a shift of 1 line) is minor enough that patch can figure out what do do. Also, in those cases, patch will create an xxx.orig file with the original, unpatched content so you can examine the diff between the original and the patched file if you wish to see that patch really did what you wanted. If there is no discrepancy, patch just applies the patch and doesn't issue any further messages. -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org