diff options
author | Steve Hay <SteveHay@planit.com> | 2004-11-16 10:55:20 +0000 |
---|---|---|
committer | Steve Hay <SteveHay@planit.com> | 2004-11-16 10:55:20 +0000 |
commit | dfb1454fc4d475052564cd52d54284a5565a13e1 (patch) | |
tree | 8afc37835ece95d079f371b69b4f113f51698ec1 /embed.pl | |
parent | 3d036c2b4a16bfabb30adc0a1c9a65f0f7823869 (diff) | |
download | perl-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 'embed.pl')
-rwxr-xr-x | embed.pl | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -95,6 +95,7 @@ sub walk_table (&@) { else { safer_unlink $filename; open F, ">$filename" or die "Can't open $filename: $!"; + binmode F; $F = \*F; } print $F $leader if $leader; @@ -338,6 +339,7 @@ sub multoff ($$) { safer_unlink 'embed.h'; open(EM, '> embed.h') or die "Can't create embed.h: $!\n"; +binmode EM; print EM do_not_edit ("embed.h"), <<'END'; @@ -547,6 +549,7 @@ close(EM) or die "Error closing EM: $!"; safer_unlink 'embedvar.h'; open(EM, '> embedvar.h') or die "Can't create embedvar.h: $!\n"; +binmode EM; print EM do_not_edit ("embedvar.h"), <<'END'; @@ -654,7 +657,9 @@ close(EM) or die "Error closing EM: $!"; safer_unlink 'perlapi.h'; safer_unlink 'perlapi.c'; open(CAPI, '> perlapi.c') or die "Can't create perlapi.c: $!\n"; +binmode CAPI; open(CAPIH, '> perlapi.h') or die "Can't create perlapi.h: $!\n"; +binmode CAPIH; print CAPIH do_not_edit ("perlapi.h"), <<'EOT'; |