summaryrefslogtreecommitdiff
path: root/doio.c
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2001-12-12 12:28:13 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2001-12-12 13:34:06 +0000
commit8b24e160a9bb9b9b36e347d7f037058433ec43e6 (patch)
tree6a91d2047ef4e3aad8ff0c85d8980f076f6fdeb8 /doio.c
parent9f966f7a3650e5abf921f6ada1c12e32e212cf23 (diff)
downloadperl-8b24e160a9bb9b9b36e347d7f037058433ec43e6.tar.gz
doio fatal on cygwin for 13651
Message-Id: <20011212112548.4611.H.M.BRAND@hccnet.nl> p4raw-id: //depot/perl@13653
Diffstat (limited to 'doio.c')
-rw-r--r--doio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doio.c b/doio.c
index cad08a7d0d..4e977b7bdf 100644
--- 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);