Diff for /embedaddon/rsync/zlib/inflate.c between versions 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2013/10/14 07:51:14 version 1.1.1.3, 2021/03/17 00:32:36
Line 885  int flush; Line 885  int flush;
             INITBITS();              INITBITS();
             state->mode = COPY_;              state->mode = COPY_;
             if (flush == Z_TREES) goto inf_leave;              if (flush == Z_TREES) goto inf_leave;
               /* FALLTHROUGH */
         case COPY_:          case COPY_:
             state->mode = COPY;              state->mode = COPY;
            /* FALL THROUGH */            /* FALLTHROUGH */
         case COPY:          case COPY:
             copy = state->length;              copy = state->length;
             if (copy) {              if (copy) {
Line 1525  z_streamp strm; Line 1526  z_streamp strm;
 {  {
     struct inflate_state FAR *state;      struct inflate_state FAR *state;
   
    if (strm == Z_NULL || strm->state == Z_NULL) return -1L << 16;    if (strm == Z_NULL || strm->state == Z_NULL)
         return (long)(((unsigned long)0 - 1) << 16);
     state = (struct inflate_state FAR *)strm->state;      state = (struct inflate_state FAR *)strm->state;
    return ((long)(state->back) << 16) +    return (long)(((unsigned long)((long)state->back)) << 16) +
         (state->mode == COPY ? state->length :          (state->mode == COPY ? state->length :
             (state->mode == MATCH ? state->was - state->length : 0));              (state->mode == MATCH ? state->was - state->length : 0));
 }  }

Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>