This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f966f7
)
doio fatal on cygwin for 13651
author
H.Merijn Brand
<h.m.brand@xs4all.nl>
Wed, 12 Dec 2001 11:28:13 +0000
(12:28 +0100)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Wed, 12 Dec 2001 13:34:06 +0000
(13:34 +0000)
Message-Id: <
20011212112548
.4611.H.M.BRAND@hccnet.nl>
p4raw-id: //depot/perl@13653
doio.c
patch
|
blob
|
blame
|
history
diff --git
a/doio.c
b/doio.c
index
cad08a7
..
4e977b7
100644
(file)
--- a/
doio.c
+++ b/
doio.c
@@
-1109,7
+1109,7
@@
Perl_do_binmode(pTHX_ PerlIO *fp, int iotype, int mode)
*/
char *name = ":raw";
#ifdef PERLIO_USING_CRLF
- if (!(mode & O_BINARY))
)
+ if (!(mode & O_BINARY))
name = ":crlf";
#endif
return PerlIO_binmode(aTHX_ fp, iotype, mode, name);