[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.21.4.1 and 1.22

version 1.21.4.1, 2021/11/09 13:41:24 version 1.22, 2021/06/30 13:10:04
Line 1 
Line 1 
 /*      $Id$ */  /*      $OpenBSD$ */
 /*  /*
  * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>   * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
  *   *
Line 350 
Line 350 
   
                 p->state = DOWNLOAD_READ_LOCAL;                  p->state = DOWNLOAD_READ_LOCAL;
                 f = &p->fl[idx];                  f = &p->fl[idx];
                 p->ofd = openat(p->rootfd, f->path, O_RDONLY | O_NONBLOCK);                  p->ofd = openat(p->rootfd, f->path, O_RDONLY | O_NONBLOCK, 0);
   
                 if (p->ofd == -1 && errno != ENOENT) {                  if (p->ofd == -1 && errno != ENOENT) {
                         ERR("%s: openat", f->path);                          ERR("%s: openat", f->path);

Legend:
Removed from v.1.21.4.1  
changed lines
  Added in v.1.22