>From c8ca5aa592a3c610c308bed9c603a1b9d0affe76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Ovs=C3=ADk?= Date: Tue, 1 Mar 2011 19:22:24 +0100 Subject: [PATCH 6/6] Handle symlink on source device --- flist.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/flist.c b/flist.c index a8cc01c..5b888c7 100644 --- a/flist.c +++ b/flist.c @@ -223,7 +223,7 @@ static int readlink_stat(const char *path, STRUCT_STAT *stp, char *linkbuf) static int link_stat2(const char *path, STRUCT_STAT *stp, int follow_dirlinks) { #ifdef SUPPORT_LINKS - if (copy_links) + if (copy_links || rw_devices) return x_stat(path, stp, NULL); if (x_lstat(path, stp, NULL) < 0) return -1; -- 1.7.7.3