This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: ARM patch: isatty return codes
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: newlib at sourceware dot org
- Date: Fri, 27 Aug 2010 13:56:03 +0200
- Subject: Re: ARM patch: isatty return codes
- References: <4C77844D.7020207@st.com>
- Reply-to: newlib at sourceware dot org
On Aug 27 11:24, Christophe Lyon wrote:
> Hello,
>
> It seems that the current isatty() implementation for ARM does not
> return the right values (as described in "man isatty")
>
> It should return 0 on error, instead of -1 currently.
>
> I propose the attached patch.
Looks good to me. I checked it in with a minor teak.
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat