| Index: courgette/third_party/bsdiff/bsdiff_create.cc
|
| diff --git a/courgette/third_party/bsdiff/bsdiff_create.cc b/courgette/third_party/bsdiff/bsdiff_create.cc
|
| index eab63d3f28ea4b67ce950abbcd3e5644f7f811ed..b89c2f1a57a997fef35fdf1d881c9b4a7e29aa94 100644
|
| --- a/courgette/third_party/bsdiff/bsdiff_create.cc
|
| +++ b/courgette/third_party/bsdiff/bsdiff_create.cc
|
| @@ -48,7 +48,6 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -
|
| #include "courgette/third_party/bsdiff/bsdiff.h"
|
|
|
| #include <stddef.h>
|
| @@ -62,6 +61,7 @@
|
|
|
| #include "courgette/crc.h"
|
| #include "courgette/streams.h"
|
| +#include "courgette/third_party/bsdiff/bsdiff_search.h"
|
| #include "courgette/third_party/bsdiff/paged_array.h"
|
| #include "courgette/third_party/bsdiff/qsufsort.h"
|
|
|
| @@ -174,7 +174,7 @@ BSDiffStatus CreateBinaryPatch(SourceStream* old_stream,
|
|
|
| scan += match_length;
|
| for (int scsc = scan; scan < newsize; ++scan) {
|
| - match_length = qsuf::search<PagedArray<int>&>(
|
| + match_length = courgette::search<PagedArray<int>&>(
|
| I, old, oldsize, newbuf + scan, newsize - scan, &pos);
|
|
|
| for (; scsc < scan + match_length; scsc++)
|
|
|