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

Diff for /src/usr.bin/rsync/uploader.c between version 1.18 and 1.19

version 1.18, 2019/03/18 15:33:21 version 1.19, 2019/03/23 16:04:28
Line 223 
Line 223 
                 if (strcmp(f->link, b)) {                  if (strcmp(f->link, b)) {
                         free(b);                          free(b);
                         b = NULL;                          b = NULL;
                         LOG3(sess, "%s: updating "                          LOG3(sess, "%s: updating symlink: %s", f->path, f->link);
                                 "symlink: %s", f->path, f->link);  
                         updatelink = 1;                          updatelink = 1;
                 }                  }
                 free(b);                  free(b);
Line 237 
Line 236 
          */           */
   
         if (rc == -1 || updatelink) {          if (rc == -1 || updatelink) {
                 LOG3(sess, "%s: creating "                  LOG3(sess, "%s: creating symlink: %s", f->path, f->link);
                         "symlink: %s", f->path, f->link);  
                 if (mktemplate(sess, &temp,                  if (mktemplate(sess, &temp,
                     f->path, sess->opts->recursive) == -1) {                      f->path, sess->opts->recursive) == -1) {
                         ERRX1(sess, "mktemplate");                          ERRX1(sess, "mktemplate");
Line 948 
Line 946 
                 close(*fileinfd);                  close(*fileinfd);
                 *fileinfd = -1;                  *fileinfd = -1;
                 LOG3(sess, "%s: mapped %jd B with %zu blocks",                  LOG3(sess, "%s: mapped %jd B with %zu blocks",
                         u->fl[u->idx].path, (intmax_t)blk.size,                      u->fl[u->idx].path, (intmax_t)blk.size,
                         blk.blksz);                      blk.blksz);
         } else {          } else {
                 if (*fileinfd != -1) {                  if (*fileinfd != -1) {
                         close(*fileinfd);                          close(*fileinfd);

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19