summaryrefslogtreecommitdiff
path: root/net/cvsupchk/files/patch-spaces-in-filenames
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-11-08 23:38:52 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-11-08 23:38:52 +0000
commit53bd74128e9d9259f7f97b9afc25d50faa2b097c (patch)
tree57f637f562dfed5598264b98a2fbea94732f7547 /net/cvsupchk/files/patch-spaces-in-filenames
parent- Update to 0.10.2 (diff)
- Support file names that contains blanks
PR: ports/105264 Submitted by: Rudolf Cejka, Brno University of Technology, Brno, Czech Republic Approved by: Matthias Andree (maintainer)
Notes
Notes: svn path=/head/; revision=176885
Diffstat (limited to 'net/cvsupchk/files/patch-spaces-in-filenames')
-rw-r--r--net/cvsupchk/files/patch-spaces-in-filenames14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/cvsupchk/files/patch-spaces-in-filenames b/net/cvsupchk/files/patch-spaces-in-filenames
new file mode 100644
index 000000000000..3a09f90371f7
--- /dev/null
+++ b/net/cvsupchk/files/patch-spaces-in-filenames
@@ -0,0 +1,14 @@
+This patch by Rudolf Cejka aims to fix cvsupchk for names
+that contain spaces. -- Matthias Andree, 2006-11-07
+
+--- cvsupchk.orig Tue Oct 31 14:51:57 2006
++++ cvsupchk Tue Oct 31 14:57:47 2006
+@@ -396,6 +396,8 @@
+
+ c = string.split(l)
+
++ c[1] = string.replace(c[1], "\_", " ")
++
+ if c[0] not in [ 'C', 'c', 'D', 'F', 'U', 'V', 'v' ]:
+ diag_fatal('Unrecognized line: "%s"' % l[0:-1])
+