Author: glen Date: Wed Feb 16 20:37:50 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- from mailing list
http://lists.badgers-in-foil.co.uk/pipermail/cvsspam-devel/2005-February/000282.html
---- Files affected:
SOURCES:
cvsspam-trailing-cvsinfo-slash.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/cvsspam-trailing-cvsinfo-slash.patch
diff -u /dev/null SOURCES/cvsspam-trailing-cvsinfo-slash.patch:1.1
--- /dev/null Wed Feb 16 21:37:50 2005
+++ SOURCES/cvsspam-trailing-cvsinfo-slash.patch Wed Feb 16 21:37:45 2005
@@ -0,0 +1,11 @@
+--- collect_diffs.rb.org 2004-12-11 21:38:10.000000000 +0100
++++ collect_diffs.rb 2004-12-11 21:46:35.235302401 +0100
+@@ -100,7 +100,7 @@
+ def collect_antique_style_args(cvs_info)
+ # remove leading slashes that may appear due to the user entering trailing
+ # slashes in their CVSROOT specification
+- cvs_info.sub!(/^\/+/, "")
++ cvs_info = cvs_info.sub(/^\/+/, "")
+
+ unless cvs_info.slice(0, $repository_path.length+1) == "#{$repository_path}
"
+ fail "calculated repository path ('#{$repository_path}') doesn't match
start of command line arg ('#{cvs_info}')"
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit