summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2000-11-25 20:01:28 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2000-11-25 20:01:28 +0000
commita77df51f3c9319336e0ec43ad003b02a0111d2af (patch)
treef7d8de224e939bd63ba58d3f7aa5d8ff0cb2c41b /perlio.c
parentf5b9d040829bb5deb93173e35ee6c82ce0a01c37 (diff)
downloadperl-a77df51f3c9319336e0ec43ad003b02a0111d2af.tar.gz
All tests pass on Win32/gcc/USE_PERLIO.
- when crlf layer is pushed make unix-level binary. - remove :crlf injection in pp_backtick in pp_sys.c - (Change dependacy of extension .dll's to perldll.def rather than perl.exe) p4raw-id: //depot/perlio@7857
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/perlio.c b/perlio.c
index 5bad8c0991..5674674bde 100644
--- a/perlio.c
+++ b/perlio.c
@@ -1670,11 +1670,11 @@ PerlIOBuf_fdopen(PerlIO_funcs *self, int fd, const char *mode)
{
init = 1;
mode++;
- if (O_BINARY != O_TEXT)
- {
- int code = PerlLIO_setmode(fd, O_BINARY);
- PerlIO_debug(__FUNCTION__ " %s fd=%d m=%s c=%d\n",tab->name,fd,mode,code);
- }
+ }
+ if (O_BINARY != O_TEXT)
+ {
+ int code = PerlLIO_setmode(fd, O_BINARY);
+ PerlIO_debug(__FUNCTION__ " %s fd=%d m=%s c=%d\n",tab->name,fd,mode,code);
}
f = (*tab->Fdopen)(tab,fd,mode);
if (f)