p4raw-id: //depot/perl@7901
init = 1;
mode++;
}
- if (O_BINARY != O_TEXT)
+#if O_BINARY != O_TEXT
{
int code = PerlLIO_setmode(fd, O_BINARY);
+ /* do something about failing setmode()? --jhi */
PerlIO_debug("PerlIOBuf_fdopen %s fd=%d m=%s c=%d\n",tab->name,fd,mode,code);
}
+#endif
f = (*tab->Fdopen)(tab,fd,mode);
if (f)
{