summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libc/syscalls.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-01-19 22:27:56 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-01-19 22:27:56 +0000
commit866c465f53e3c708810e8de7279f43a5e83223a1 (patch)
treed0498bd8b61c65b316d1674c04561ca9a2cd975c /c/src/lib/libc/syscalls.c
parentPatch from Eric Norum: (diff)
downloadrtems-866c465f53e3c708810e8de7279f43a5e83223a1.tar.bz2
more info from Eric
Diffstat (limited to '')
-rw-r--r--c/src/lib/libc/syscalls.c6
1 files changed, 6 insertions, 0 deletions
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;