of default :crlf on standard streams.
p4raw-id: //depot/perlio@7844
}
}
}
- else if (O_BINARY != O_TEXT && IoTYPE(io) != IoTYPE_STD) {
+ else if (O_BINARY != O_TEXT && IoTYPE(io) != IoTYPE_STD && !saveifp) {
type = ":crlf";
}
}
{
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 */