forked from pool/patchutils
9fc9001b1b
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
15 lines
332 B
Diff
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);
|