Fix 3 way merge on large files
modified libpkg/merge3.c
@@ -104,6 +104,14 @@ static int sameEdit(
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -112,25 +120,19 @@ sbuf_copy_lines(struct sbuf *to, const char *from, int N)
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -277,5 +279,6 @@ int merge_3way(
|
|
|
|
|
|
| + | |
|
|
|
modified libpkg/pkg_add.c
@@ -227,7 +227,7 @@ do_extract(struct archive *a, struct archive_entry *ae, const char *location,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|