summaryrefslogtreecommitdiff
path: root/sysutils/cpdup/files/patch-cpdup.c
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2007-05-31 06:19:26 +0000
committerAlex Dupre <ale@FreeBSD.org>2007-05-31 06:19:26 +0000
commit6d3d6067e4e6123634025b6db6050d3a0a72bfde (patch)
tree5e9da4e304dcaa95e3f5fd9e60930ace327cfd57 /sysutils/cpdup/files/patch-cpdup.c
parent- Update to 2.0.0.4 (diff)
Update to 1.07 release.
Submitted by: Oliver <olli@secnetix.de> Approved by: maintainer
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)