Fix for stdio as default "discipline" - PerlIO_init() was fdopen(2,"w")'ing
authorNick Ing-Simmons <nik@tiuk.ti.com>
Sat, 4 Nov 2000 12:40:42 +0000 (12:40 +0000)
committerNick Ing-Simmons <nik@tiuk.ti.com>
Sat, 4 Nov 2000 12:40:42 +0000 (12:40 +0000)
commitc7fc522f3f7e35723803aaacf8c326dac22dae76
tree7379cd48c9e269e1411a6f6e4a2d05a520a54c5a
parent9e353e3b7330a59ca210e75e4484e7762fcd1ce4
Fix for stdio as default "discipline" - PerlIO_init() was fdopen(2,"w")'ing
a fresh FILE * rather than re-using stderr. Which meant PerlIO_stderr() was
fully buffered rather than unbuffered (on Solaris, Linux seemed to do something
sensible) which lead to some interesting fails.

p4raw-id: //depot/perlio@7537
perlio.c