version 1.5, 2019/02/14 18:29:08 |
version 1.6, 2019/02/14 18:31:01 |
|
|
free(b); |
free(b); |
} |
} |
|
|
/* Optionally preserve times/perms on the symlink. */ |
/* |
|
* Optionally preserve times/perms on the symlink. |
|
* FIXME: run rsync_set_metadata()? |
|
*/ |
|
|
if (sess->opts->preserve_times) { |
if (sess->opts->preserve_times) { |
tv[0].tv_sec = time(NULL); |
tv[0].tv_sec = time(NULL); |
|
|
/* |
/* |
* Update the modification time if we're a new directory *or* if |
* Update the modification time if we're a new directory *or* if |
* we're preserving times and the time has changed. |
* we're preserving times and the time has changed. |
|
* FIXME: run rsync_set_metadata()? |
*/ |
*/ |
|
|
if (u->newdir[idx] || |
if (u->newdir[idx] || |