summaryrefslogtreecommitdiff
path: root/bytecode.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 /bytecode.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 'bytecode.pl')
-rw-r--r--bytecode.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/bytecode.pl b/bytecode.pl
index d3ca4c8453..d471763a9f 100644
--- a/bytecode.pl
+++ b/bytecode.pl
@@ -43,6 +43,7 @@ safer_unlink "ext/ByteLoader/byterun.c", "ext/ByteLoader/byterun.h", "ext/B/B/As
# Start with boilerplate for Asmdata.pm
#
open(ASMDATA_PM, ">ext/B/B/Asmdata.pm") or die "ext/B/B/Asmdata.pm: $!";
+binmode ASMDATA_PM;
print ASMDATA_PM $perl_header, <<'EOT';
package B::Asmdata;
@@ -67,6 +68,7 @@ EOT
# Boilerplate for byterun.c
#
open(BYTERUN_C, ">ext/ByteLoader/byterun.c") or die "ext/ByteLoader/byterun.c: $!";
+binmode BYTERUN_C;
print BYTERUN_C $c_header, <<'EOT';
#define PERL_NO_GET_CONTEXT
@@ -198,6 +200,7 @@ EOT
# Write the instruction and optype enum constants into byterun.h
#
open(BYTERUN_H, ">ext/ByteLoader/byterun.h") or die "ext/ByteLoader/byterun.h: $!";
+binmode BYTERUN_H;
print BYTERUN_H $c_header, <<'EOT';
struct byteloader_fdata {
SV *datasv;