This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
doio fatal on cygwin for 13651
authorH.Merijn Brand <h.m.brand@xs4all.nl>
Wed, 12 Dec 2001 11:28:13 +0000 (12:28 +0100)
committerJarkko 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

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);