>
> - =A0 =A0if (_osfile(fd) & FTEXT) {
> + =A0 =A0isconsole =3D is_console(_osfhnd(fd));
> + =A0 =A0if (!isconsole && (_osfile(fd) & FTEXT)) {
> =A0 =A0 =A0 =A0return _read(fd, buf, size);
> =A0 =A0 }
>

I intended STDIN doesn't use text mode at #5562 patch. So STDIN
doesn't need to use _read().
I thought (_osfile(fd) & FTEXT) should be false in the case of STDIN.


--=20
Hiroshi Shirosaki