doio fatal on cygwin for 13651
H.Merijn Brand [Wed, 12 Dec 2001 11:28:13 +0000 (12:28 +0100)]
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);