[patch] sh _isatty

Jeff Johnston jjohnstn@redhat.com
Tue Jan 22 00:19:00 GMT 2008


Yes, thanks.

-- Jeff J.

DJ Delorie wrote:
> 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);



More information about the Newlib mailing list