3
0
forked from pool/patchutils
patchutils/rediff-hunk-init-fix.diff
OBS User autobuild 9fc9001b1b Accepting request 38245 from home:sndirsch:branches:openSUSE:Factory
Copy from home:sndirsch:branches:openSUSE:Factory/patchutils based on submit request 38245 from user sndirsch

OBS-URL: https://build.opensuse.org/request/show/38245
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/patchutils?expand=0&rev=8
2010-04-20 00:26:55 +00:00

15 lines
332 B
Diff

---
src/rediff.c | 1 +
1 file changed, 1 insertion(+)
--- a/src/rediff.c
+++ b/src/rediff.c
@@ -841,6 +841,7 @@
newhunk->filepos = pos;
newhunk->line_in_diff = linenum;
newhunk->num_lines = 0;
+ newhunk->discard_offset = 0;
if (!strncmp (line, "--- ", 4)) {
struct file_info *info = xmalloc (sizeof *info);