| Index: chrome/installer/mac/third_party/bsdiff/goobspatch.c
|
| ===================================================================
|
| --- chrome/installer/mac/third_party/bsdiff/goobspatch.c (revision 50527)
|
| +++ chrome/installer/mac/third_party/bsdiff/goobspatch.c (working copy)
|
| @@ -194,9 +194,6 @@
|
| return 0;
|
| } else if (feof(xzf->f)) {
|
| xzf->eof = 1;
|
| - /* LZMA_FINISH is not critical because
|
| - * LZMA_CONCATENATED is not in use. */
|
| - action = LZMA_FINISH;
|
| }
|
| }
|
|
|
| @@ -211,6 +208,11 @@
|
| return 0;
|
| }
|
|
|
| + /* LZMA_FINISH is not critical because
|
| + * LZMA_CONCATENATED is not in use. */
|
| + if (xzf->eof)
|
| + action = LZMA_FINISH;
|
| +
|
| /* Run the decoder. */
|
| xzf->err = lzma_code(&xzf->ls, action);
|
| if (xzf->err == LZMA_STREAM_END) {
|
|
|