~ubuntu-branches/ubuntu/quantal/gzip/quantal

« back to all changes in this revision

Viewing changes to deflate.c

  • Committer: Steve Langasek
  • Date: 2012-05-02 21:43:58 UTC
  • mfrom: (4.1.7 sid)
  • Revision ID: steve.langasek@canonical.com-20120502214358-rqnb1qrcqh7l42og
Merge version 1.4-5 from Debian unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
581
581
        n = read_buf((char*)window+strstart+lookahead, more);
582
582
        if (n == 0 || n == (unsigned)EOF) {
583
583
            eofile = 1;
 
584
            /* Don't let garbage pollute the dictionary.  */
 
585
            memzero (window + strstart + lookahead, MIN_MATCH - 1);
584
586
        } else {
585
587
            lookahead += n;
586
588
        }