This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] sh _isatty


This got missed in the grand isatty renaming.  Ok?

	* libc/sys/sh/syscalls.c (_isatty): New.

Index: newlib/libc/sys/sh/syscalls.c
===================================================================
RCS file: /cvs/src/src/newlib/libc/sys/sh/syscalls.c,v
retrieving revision 1.6
diff -p -U3 -r1.6 syscalls.c
--- newlib/libc/sys/sh/syscalls.c	6 Jul 2007 16:56:30 -0000	1.6
+++ newlib/libc/sys/sh/syscalls.c	21 Jan 2008 23:25:22 -0000
@@ -99,6 +99,13 @@ isatty (fd)
   return 1;
 }
 
+_isatty (fd)
+     int fd;
+{
+  return 1;
+}
+
+
 _exit (n)
 {
   return __trap34 (SYS_exit, n, 0, 0);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]