[carton] 131/472: force the newlines in carton.lock to be \n

Lucas Kanashiro kanashiro-guest at moszumanska.debian.org
Fri Jul 24 00:38:40 UTC 2015


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

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

commit bdc334818f452c8499c6b4541a7907bd4fe7cd9f
Author: Christian Walde <walde.christian at googlemail.com>
Date:   Sun Oct 23 12:09:48 2011 +0200

    force the newlines in carton.lock to be \n
---
 lib/Carton/Util.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/Carton/Util.pm b/lib/Carton/Util.pm
index 501b150..cc9c775 100644
--- a/lib/Carton/Util.pm
+++ b/lib/Carton/Util.pm
@@ -13,6 +13,7 @@ sub dump_json {
     my($data, $file) = @_;
 
     open my $fh, ">", $file or die "$file: $!";
+    binmode $fh;
     print $fh to_json($data);
 }
 

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



More information about the Pkg-perl-cvs-commits mailing list