summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-04-06 15:57:58 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-04-06 15:57:58 +0000
commitc796ea979cc934bad0ac3796494a5e61396fa631 (patch)
tree06b0549d6912ca3998bd581c951a623ea71d48d9
parentChanged CPU model to mcpu32. (diff)
downloadrtems-c796ea979cc934bad0ac3796494a5e61396fa631.tar.bz2
More stuff removed as a result of using newlib's isatty() implementation.
These were noticed by Eric Norum.
-rw-r--r--c/src/exec/libcsupport/src/newlibc.c11
-rw-r--r--c/src/lib/libc/newlibc.c11
-rw-r--r--c/src/lib/libc/syscalls.c4
-rw-r--r--cpukit/libcsupport/src/newlibc.c11
4 files changed, 0 insertions, 37 deletions
diff --git a/c/src/exec/libcsupport/src/newlibc.c b/c/src/exec/libcsupport/src/newlibc.c
index ae5365aa39..8fb1916d7e 100644
--- a/c/src/exec/libcsupport/src/newlibc.c
+++ b/c/src/exec/libcsupport/src/newlibc.c
@@ -32,11 +32,6 @@
#include <errno.h>
/*
- * 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/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 <errno.h>
/*
- * 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 <rtems/libio.h>
#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)
{
diff --git a/cpukit/libcsupport/src/newlibc.c b/cpukit/libcsupport/src/newlibc.c
index ae5365aa39..8fb1916d7e 100644
--- a/cpukit/libcsupport/src/newlibc.c
+++ b/cpukit/libcsupport/src/newlibc.c
@@ -32,11 +32,6 @@
#include <errno.h>
/*
- * 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