From bf63295e0b429510b0b7493bd9b38ee7c9b85eae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Sun, 4 Feb 2007 11:48:08 +0000 Subject: [PATCH] reverted changes from revision 7340, it seems to not be useful anymore. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20063 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/libroot/posix/glibc/libio/stdfiles.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/system/libroot/posix/glibc/libio/stdfiles.c b/src/system/libroot/posix/glibc/libio/stdfiles.c index d74fa1c412..1f43b29c4f 100644 --- a/src/system/libroot/posix/glibc/libio/stdfiles.c +++ b/src/system/libroot/posix/glibc/libio/stdfiles.c @@ -69,11 +69,9 @@ //# endif #endif -// ToDo: stdin/stdout were originally buffered -// (and probably automatically switched to unbuffered for TTYs) -DEF_STDFILE(_IO_2_1_stdin_, 0, 0, _IO_NO_WRITES + _IO_UNBUFFERED); -DEF_STDFILE(_IO_2_1_stdout_, 1, &_IO_2_1_stdin_, _IO_NO_READS + _IO_UNBUFFERED); -DEF_STDFILE(_IO_2_1_stderr_, 2, &_IO_2_1_stdout_, _IO_NO_READS + _IO_UNBUFFERED); +DEF_STDFILE(_IO_2_1_stdin_, 0, 0, _IO_NO_WRITES); +DEF_STDFILE(_IO_2_1_stdout_, 1, &_IO_2_1_stdin_, _IO_NO_READS); +DEF_STDFILE(_IO_2_1_stderr_, 2, &_IO_2_1_stdout_, _IO_NO_READS+_IO_UNBUFFERED); struct _IO_FILE_plus *_IO_list_all = &_IO_2_1_stderr_; INTVARDEF(_IO_list_all)