copypage.pl patch to keep line endings
copypage should keep line endings on every platform to avoid bothers
--
victory
---
Index: copypage.pl
===================================================================
RCS file: /cvsroot/webwml/webwml/copypage.pl,v
retrieving revision 1.31
diff -u -r1.31 copypage.pl
--- copypage.pl 22 Nov 2008 13:52:18 -0000 1.31
+++ copypage.pl 20 Oct 2009 05:02:20 -0000
@@ -237,6 +237,7 @@
open DST, ">$dstfile"
or die "Could not create $dstfile ($!)\n";
+ binmode DST; #On win32 platform, line endings converted to crlf by default.
# Copy the file and insert the revision number
my $insertedrevision = 0;
Reply to: