From: Wayne Davison Date: Fri, 11 Jun 2004 05:02:59 +0000 (+0000) Subject: In set_filesystem(), call do_stat(), not link_stat() to ensure X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/ea76e761048fcc61ab26cdda31fa0c975446e1fa In set_filesystem(), call do_stat(), not link_stat() to ensure that we get the directory behind it all. --- diff --git a/flist.c b/flist.c index 0bb14449..9fafd92d 100644 --- a/flist.c +++ b/flist.c @@ -250,7 +250,7 @@ static dev_t filesystem_dev; static void set_filesystem(char *fname) { STRUCT_STAT st; - if (link_stat(fname, &st) != 0) + if (do_stat(fname, &st) != 0) return; filesystem_dev = st.st_dev; }