From c796ea979cc934bad0ac3796494a5e61396fa631 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 6 Apr 1998 15:57:58 +0000 Subject: More stuff removed as a result of using newlib's isatty() implementation. These were noticed by Eric Norum. --- c/src/lib/libc/newlibc.c | 11 ----------- c/src/lib/libc/syscalls.c | 4 ---- 2 files changed, 15 deletions(-) (limited to 'c/src/lib/libc') diff --git a/c/src/lib/libc/newlibc.c b/c/src/lib/libc/newlibc.c index ae5365aa39..8fb1916d7e 100644 --- a/c/src/lib/libc/newlibc.c +++ b/c/src/lib/libc/newlibc.c @@ -32,11 +32,6 @@ #include /* - * NOTE: When using RTEMS fake stat, fstat, and isatty, all output - * is line buffered so this setvbuf is not necessary. This - * setvbuf insures that we can redirect the output of a test - * on the UNIX simulator and it is in the same order as for a - * real target. * NOTE: * There is some problem with doing this on the hpux version * of the UNIX simulator (symptom is printf core dumps), so @@ -143,12 +138,6 @@ libc_start_hook(rtems_tcb *current_task, /* * Called for all user TASKS (system tasks are MPCI Receive Server and IDLE) - * - * NOTE: When using RTEMS fake stat, fstat, and isatty, all output - * is line buffered so this setvbuf is not necessary. This - * setvbuf insures that we can redirect the output of a test - * on the UNIX simulator and it is in the same order as for a - * real target. */ #ifdef NEED_SETVBUF diff --git a/c/src/lib/libc/syscalls.c b/c/src/lib/libc/syscalls.c index 427b3d979b..528e00f711 100644 --- a/c/src/lib/libc/syscalls.c +++ b/c/src/lib/libc/syscalls.c @@ -29,10 +29,6 @@ #include #ifdef RTEMS_NEWLIB -/* - * fstat, stat, and isatty must lie consistently and report that everything - * is a tty or stdout will not be line buffered. - */ int __rtems_fstat(int _fd, struct stat* _sbuf) { -- cgit v1.2.3