diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 2000-11-23 23:42:45 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2000-11-23 23:42:45 +0000 |
commit | de6cd452fde5aaf57e339f71b33b6a0852f0f96d (patch) | |
tree | 7a070ec59e0d915b5e98d7d4395357e9c87093d8 | |
parent | 63dbdb066b93ac25a070d3a7942d248c23ec6088 (diff) | |
download | perl-de6cd452fde5aaf57e339f71b33b6a0852f0f96d.tar.gz |
Win32/perlio Now just fails one io/argv.t test - lack
of default :crlf on standard streams.
p4raw-id: //depot/perlio@7844
-rw-r--r-- | doio.c | 2 | ||||
-rw-r--r-- | perlio.c | 1 |
2 files changed, 1 insertions, 2 deletions
@@ -528,7 +528,7 @@ Perl_do_open9(pTHX_ GV *gv, register char *name, I32 len, int as_raw, } } } - else if (O_BINARY != O_TEXT && IoTYPE(io) != IoTYPE_STD) { + else if (O_BINARY != O_TEXT && IoTYPE(io) != IoTYPE_STD && !saveifp) { type = ":crlf"; } } @@ -2125,7 +2125,6 @@ PerlIOCrlf_get_cnt(PerlIO *f) { int code; dTHX; - Perl_warn(aTHX_ __FUNCTION__ " f=%p CR @ end of buffer",f); b->ptr++; /* say we have read it as far as flush() is concerned */ b->buf++; /* Leave space an front of buffer */ b->bufsiz--; /* Buffer is thus smaller */ |