On Tue, 20 Apr 2021 11:12:59 +0300 Yordan Karadzhov <y.karadz@xxxxxxxxx> wrote: > > diff --git a/examples/checker.c b/examples/checker.c > > new file mode 100644 > > index 0000000..0b04343 > > --- /dev/null > > +++ b/examples/checker.c > > @@ -0,0 +1,202 @@ > > The first problem is that this patch fails to apply. My guess is that > you hand-edited the patch and removed some lines starting with "+". Note > that the total number of additions and removals in the file is indicated > in the line above. If this number does not match the number of lines > starting with "+", the patch will fail to apply. > > As a general advise - try to avoid hand-editing patches unless you are > certain you know what you are doing. Or hand edit the patches using emacs ;-) That's because emacs has a "patch mode" that updates those numbers when you modify the patch! -- Steve