Mercurial > hg > toybox
changeset 673:c102f31a753e
Missing line in patch -l. Oops.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 07 Oct 2012 23:53:25 -0500 |
parents | 9d5959d6885d |
children | 7e846e281e38 |
files | toys/posix/patch.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/toys/posix/patch.c Sun Oct 07 22:57:27 2012 -0500 +++ b/toys/posix/patch.c Sun Oct 07 23:53:25 2012 -0500 @@ -128,7 +128,8 @@ while (isspace(bb[b])) b++; if (aa[a] != bb[b]) return 1; if (!aa[a]) return 0; - } + a++, b++; + } } // Given a hunk of a unified diff, make the appropriate change to the file.