summaryrefslogtreecommitdiff
path: root/net/rsync/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'net/rsync/patches/patch-ac')
-rw-r--r--net/rsync/patches/patch-ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/rsync/patches/patch-ac b/net/rsync/patches/patch-ac
new file mode 100644
index 00000000000..646fbf5d51e
--- /dev/null
+++ b/net/rsync/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.9 2004/08/14 14:15:51 tron Exp $
+
+--- util.c.orig 2004-04-27 21:59:37.000000000 +0200
++++ util.c 2004-08-14 16:11:22.000000000 +0200
+@@ -743,7 +743,7 @@
+ allowdotdot = 1;
+ } else {
+ p += 2;
+- if (*p == '/')
++ while (*p == '/')
+ p++;
+ if (sanp != start) {
+ /* back up sanp one level */