From 866c465f53e3c708810e8de7279f43a5e83223a1 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 19 Jan 1998 22:27:56 +0000 Subject: more info from Eric --- c/src/lib/libc/syscalls.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'c/src') diff --git a/c/src/lib/libc/syscalls.c b/c/src/lib/libc/syscalls.c index 00c58d9aec..1c17bfa184 100644 --- a/c/src/lib/libc/syscalls.c +++ b/c/src/lib/libc/syscalls.c @@ -42,6 +42,12 @@ int __rtems_fstat(int _fd, struct stat* _sbuf) /* * For now assume stdin/stdout/stderr are always a TTY line + * + * From Eric Norum: + * + * The `fix' is not complete. It still doesn't properly handle + * file descriptors for any files/devices other than the console + * serial lines..... */ if (_fd <= 2) { _sbuf->st_mode = S_IFCHR; -- cgit v1.2.3