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

Diff for /src/usr.bin/rsync/downloader.c between version 1.4 and 1.5

version 1.4, 2019/02/11 21:41:22 version 1.5, 2019/02/12 19:10:28
Line 568 
Line 568 
                 goto out;                  goto out;
         }          }
   
           if (sess->opts->preserve_gids) {
                   if (fchown(p->fd, -1, f->st.gid) == -1) {
                           if (errno != EPERM) {
                                   ERR(sess, "%s: fchown", p->fname);
                                   goto out;
                           }
                           WARNX(sess, "%s: gid not available to user: %u",
                                   f->path, f->st.gid);
                   } else
                           LOG4(sess, "%s: updated gid", f->path);
           }
   
         /* Conditionally adjust file modification time. */          /* Conditionally adjust file modification time. */
   
         if (sess->opts->preserve_times) {          if (sess->opts->preserve_times) {

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5