[BACK]Return to sender.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / rsync

Diff for /src/usr.bin/rsync/sender.c between version 1.23 and 1.24

version 1.23, 2019/05/08 21:30:11 version 1.24, 2019/06/02 17:36:48
Line 379 
Line 379 
         TAILQ_INIT(&sdlq);          TAILQ_INIT(&sdlq);
         up.stat.fd = -1;          up.stat.fd = -1;
         up.stat.map = MAP_FAILED;          up.stat.map = MAP_FAILED;
           up.stat.blktab = blkhash_alloc();
   
         /*          /*
          * Generate the list of files we want to send from our           * Generate the list of files we want to send from our
Line 622 
Line 623 
   
                         if ((up.cur = TAILQ_FIRST(&sdlq)) == NULL)                          if ((up.cur = TAILQ_FIRST(&sdlq)) == NULL)
                                 continue;                                  continue;
   
                         TAILQ_REMOVE(&sdlq, up.cur, entries);                          TAILQ_REMOVE(&sdlq, up.cur, entries);
   
                           /* Hash our blocks. */
   
                           blkhash_set(up.stat.blktab, up.cur->blks);
   
                         /*                          /*
                          * End of phase: enable channel to receiver.                           * End of phase: enable channel to receiver.
                          * We'll need our output buffer enabled in order                           * We'll need our output buffer enabled in order
Line 683 
Line 687 
         }          }
         flist_free(fl, flsz);          flist_free(fl, flsz);
         free(wbuf);          free(wbuf);
           blkhash_free(up.stat.blktab);
         return rc;          return rc;
 }  }

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24