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

Diff for /src/usr.bin/rsync/flist.c between version 1.34 and 1.34.2.1

version 1.34, 2021/09/02 21:06:06 version 1.34.2.1, 2021/11/09 13:40:41
Line 283 
Line 283 
   
                 if (sess->mplex_reads &&                  if (sess->mplex_reads &&
                     io_read_check(fdin) &&                      io_read_check(fdin) &&
                      !io_read_flush(sess, fdin)) {                      !io_read_flush(sess, fdin)) {
                         ERRX1("io_read_flush");                          ERRX1("io_read_flush");
                         goto out;                          goto out;
                 }                  }
Line 356 
Line 356 
                 /* Conditional part: devices & special files. */                  /* Conditional part: devices & special files. */
   
                 if ((sess->opts->devices && (S_ISBLK(f->st.mode) ||                  if ((sess->opts->devices && (S_ISBLK(f->st.mode) ||
                      S_ISCHR(f->st.mode))) ||                      S_ISCHR(f->st.mode))) ||
                     (sess->opts->specials && (S_ISFIFO(f->st.mode) ||                      (sess->opts->specials && (S_ISFIFO(f->st.mode) ||
                     S_ISSOCK(f->st.mode)))) {                      S_ISSOCK(f->st.mode)))) {
                         if (!io_write_int(sess, fdout, f->st.rdev)) {                          if (!io_write_int(sess, fdout, f->st.rdev)) {
Line 694 
Line 694 
                 /* Conditional part: devices & special files. */                  /* Conditional part: devices & special files. */
   
                 if ((sess->opts->devices && (S_ISBLK(ff->st.mode) ||                  if ((sess->opts->devices && (S_ISBLK(ff->st.mode) ||
                      S_ISCHR(ff->st.mode))) ||                      S_ISCHR(ff->st.mode))) ||
                     (sess->opts->specials && (S_ISFIFO(ff->st.mode) ||                      (sess->opts->specials && (S_ISFIFO(ff->st.mode) ||
                     S_ISSOCK(ff->st.mode)))) {                      S_ISSOCK(ff->st.mode)))) {
                         if (!(FLIST_RDEV_SAME & flag)) {                          if (!(FLIST_RDEV_SAME & flag)) {
Line 992 
Line 992 
                 /* Optionally copy link information. */                  /* Optionally copy link information. */
   
                 if (S_ISLNK(ent->fts_statp->st_mode)) {                  if (S_ISLNK(ent->fts_statp->st_mode)) {
                         f->link = symlink_read(f->path);                          f->link = symlink_read(ent->fts_accpath);
                         if (f->link == NULL) {                          if (f->link == NULL) {
                                 ERRX1("symlink_read");                                  ERRX1("symlink_read");
                                 goto out;                                  goto out;

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.34.2.1