summaryrefslogtreecommitdiff
path: root/sysutils/cpdup/files/patch-cpdup.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/cpdup/files/patch-cpdup.c')
-rw-r--r--sysutils/cpdup/files/patch-cpdup.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sysutils/cpdup/files/patch-cpdup.c b/sysutils/cpdup/files/patch-cpdup.c
index aa5c1fca53ea..d203cde0f8e2 100644
--- a/sysutils/cpdup/files/patch-cpdup.c
+++ b/sysutils/cpdup/files/patch-cpdup.c
@@ -1,17 +1,17 @@
$FreeBSD$
---- cpdup.c.orig
-+++ cpdup.c
-@@ -321,6 +321,11 @@
+--- cpdup.c.orig Thu Sep 21 06:09:28 2006
++++ cpdup.c Wed May 30 17:27:55 2007
+@@ -463,6 +463,11 @@
- if (lstat(spath, &st1) != 0)
+ if (hc_lstat(&SrcHost, spath, &st1) != 0)
return(0);
+#ifdef SF_SNAPSHOT
-+ /* skip snapshot files: we cannot handle files larger than file system */
++ /* skip snapshot files because they're sparse and _huge_ */
+ if (st1.st_flags & SF_SNAPSHOT)
-+ return(0);
++ return(0);
+#endif
st2.st_mode = 0; /* in case lstat fails */
st2.st_flags = 0; /* in case lstat fails */
- if (dpath && lstat(dpath, &st2) == 0)
+ if (dpath && hc_lstat(&DstHost, dpath, &st2) == 0)