This is an automated email from the git hooks/post-receive script.

kanashiro-guest pushed a commit to branch master
in repository carton.

commit 72c0704aa70a255dac8d6ef9d81ecc3d5cbc6926
Author: Kan Fushihara <kan.fushih...@gmail.com>
Date:   Fri Aug 30 11:54:37 2013 +0900

    support CRLF in cpanfile.snapshot
---
 lib/Carton/Snapshot/Parser.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Carton/Snapshot/Parser.pm b/lib/Carton/Snapshot/Parser.pm
index 23c3d52..b3a0b7a 100644
--- a/lib/Carton/Snapshot/Parser.pm
+++ b/lib/Carton/Snapshot/Parser.pm
@@ -90,7 +90,7 @@ my $machine = {
 sub parse {
     my($self, $data, $snapshot) = @_;
 
-    my @lines = split /\n/, $data;
+    my @lines = split /\r?\n/, $data;
 
     my $state = $machine->{init};
     my $stash = {};

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/carton.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to