diff options
author | Steve Hay <SteveHay@planit.com> | 2005-07-04 08:10:27 +0000 |
---|---|---|
committer | Steve Hay <SteveHay@planit.com> | 2005-07-04 08:10:27 +0000 |
commit | 0eb6355a4410699750ec3d1b3a23891052a0ad29 (patch) | |
tree | 8069de88ba0e1f0635dc35a649effebe54dac388 /reentr.pl | |
parent | 9bd8fe79aac87b0d142daeccee5594d17d2a5b31 (diff) | |
download | perl-0eb6355a4410699750ec3d1b3a23891052a0ad29.tar.gz |
Stop reentr.pl changing EOL on the files it writes on Win32
p4raw-id: //depot/perl@25059
Diffstat (limited to 'reentr.pl')
-rw-r--r-- | reentr.pl | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -42,6 +42,7 @@ my %map = ( safer_unlink 'reentr.h'; die "reentr.h: $!" unless open(H, ">reentr.h"); +binmode H; select H; print <<EOF; /* -*- buffer-read-only: t -*- @@ -183,6 +184,7 @@ while (<DATA>) { # Read in the protypes. # If given the -U option open up the metaconfig unit for this function. if ($opts{U} && open(U, ">d_${func}_r.U")) { + binmode U; select U; } @@ -767,6 +769,7 @@ close(H); safer_unlink 'reentr.c'; die "reentr.c: $!" unless open(C, ">reentr.c"); +binmode C; select C; print <<EOF; /* -*- buffer-read-only: t -*- |