This is the mail archive of the
rda@sources.redhat.com
mailing list for the rda project.
Re: RFA: avoid deprecated sys_nerr variable
- From: Kevin Buettner <kevinb at redhat dot com>
- To: Jim Blandy <jimb at redhat dot com>
- Cc: rda at sources dot redhat dot com
- Date: Tue, 19 Oct 2004 13:03:06 -0700
- Subject: Re: RFA: avoid deprecated sys_nerr variable
- Organization: Red Hat
- References: <vt2hdoqlct2.fsf@zenia.home>
On 19 Oct 2004 14:37:13 -0500
Jim Blandy <jimb@redhat.com> wrote:
> 2004-10-12 Jim Blandy <jimb@redhat.com>
>
> * ptrace-target.c (ptrace_create_child): Don't use sys_nerr to
> check that errno is in a valid range. The use sys_nerr is
> deprecated on GNU/Linux, and according to the ISO C standard and
> POSIX, strerror always returns a valid string, even for invalid
> errno codes.
Okay.
Kevin