summaryrefslogtreecommitdiff
path: root/warnings.pl
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2004-11-16 10:55:20 +0000
committerSteve Hay <SteveHay@planit.com>2004-11-16 10:55:20 +0000
commitdfb1454fc4d475052564cd52d54284a5565a13e1 (patch)
tree8afc37835ece95d079f371b69b4f113f51698ec1 /warnings.pl
parent3d036c2b4a16bfabb30adc0a1c9a65f0f7823869 (diff)
downloadperl-dfb1454fc4d475052564cd52d54284a5565a13e1.tar.gz
Make all scripts run by regen.pl write output with UNIX style EOL's.
(autodoc.pl was already done by change 23371.) p4raw-id: //depot/perl@23501
Diffstat (limited to 'warnings.pl')
-rw-r--r--warnings.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/warnings.pl b/warnings.pl
index 24246f5366..aae186efad 100644
--- a/warnings.pl
+++ b/warnings.pl
@@ -253,7 +253,9 @@ if (@ARGV && $ARGV[0] eq "tree")
unlink "warnings.h";
unlink "lib/warnings.pm";
open(WARN, ">warnings.h") || die "Can't create warnings.h: $!\n";
+binmode WARN;
open(PM, ">lib/warnings.pm") || die "Can't create lib/warnings.pm: $!\n";
+binmode PM;
print WARN <<'EOM' ;
/* !!!!!!! DO NOT EDIT THIS FILE !!!!!!!