Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67407
b: refs/heads/master
c: 51a505d
h: refs/heads/master
i:
  67405: 7f7f2eb
  67403: d6811af
  67399: 205c953
  67391: c983b06
v: v3
  • Loading branch information
Milton Miller authored and Paul Mackerras committed Oct 3, 2007
1 parent bd97053 commit 20d1e27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e47654d016c68a02f654ac16951577804f7789c7
refs/heads/master: 51a505d73bfed863135861fdc0496a09766b69d5
7 changes: 2 additions & 5 deletions trunk/arch/powerpc/boot/gunzip_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,13 +194,10 @@ int gunzip_finish(struct gunzip_state *state, void *dst, int dstlen)
{
int len;

len = gunzip_partial(state, dst, dstlen);

if (state->s.workspace) {
len = gunzip_partial(state, dst, dstlen);
zlib_inflateEnd(&state->s);
} else {
/* uncompressed image */
len = min(state->s.avail_in, (unsigned)dstlen);
memcpy(dst, state->s.next_in, len);
}

return len;
Expand Down

0 comments on commit 20d1e27

Please sign in to comment.