summaryrefslogtreecommitdiff
path: root/mkcasefold.pl
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2014-11-16 19:04:08 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2014-11-16 22:17:37 +0100
commitcdc270613f605375a790b5d722f21fedb4203710 (patch)
tree6ca5d615a9f1afe1e0931ee933d74c53cd481e62 /mkcasefold.pl
parentcfa702b278c126ed3e5d0d34aa7ca018504edb96 (diff)
Set correct binmode in mkcasefold.pl
This makes sure that UNIX line endings are generated when running mkcasefold.pl on Windows.
Diffstat (limited to 'mkcasefold.pl')
-rw-r--r--mkcasefold.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/mkcasefold.pl b/mkcasefold.pl
index 4c08634..740ce77 100644
--- a/mkcasefold.pl
+++ b/mkcasefold.pl
@@ -1,3 +1,4 @@
+binmode STDOUT;
print(" switch (c) {\n");
my $lastchar = "";
while (<STDIN>) {