X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/87629cf2f61f98b7030e5c18d54490a0cb676f0e..7f9bf6b710362860ff801855b8939bdd28fc838f:/rsync.c?ds=sidebyside diff --git a/rsync.c b/rsync.c index 818b3ee2..302971fc 100644 --- a/rsync.c +++ b/rsync.c @@ -3,7 +3,7 @@ * * Copyright (C) 1996 Andrew Tridgell * Copyright (C) 1996 Paul Mackerras - * Copyright (C) 2003-2007 Wayne Davison + * Copyright (C) 2003-2008 Wayne Davison * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -399,6 +399,8 @@ int set_file_attrs(const char *fname, struct file_struct *file, stat_x *sxp, } if (ret == 0) /* ret == 1 if symlink could not be set */ updated = 1; + else + file->flags |= FLAG_TIME_FAILED; } change_uid = am_root && uid_ndx && sxp->st.st_uid != (uid_t)F_OWNER(file);