mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
We shouldn't follow symlinks and don't change the access time.
This gives a small speedup of the read command.
This commit is contained in:
parent
e5180d19d4
commit
34e59bae46
@ -99,7 +99,7 @@ static int _csync_push_file(CSYNC *ctx, csync_file_stat_t *st) {
|
||||
|
||||
/* Open the source file */
|
||||
ctx->replica = srep;
|
||||
sfp = csync_vio_open(ctx, suri, O_RDONLY, 0);
|
||||
sfp = csync_vio_open(ctx, suri, O_RDONLY|O_NOFOLLOW|O_NOATIME, 0);
|
||||
if (sfp == NULL) {
|
||||
if (errno == ENOMEM) {
|
||||
rc = -1;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user