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: Jim Blandy <jimb at redhat dot com>
- To: Kevin Buettner <kevinb at redhat dot com>
- Cc: rda at sources dot redhat dot com
- Date: 19 Oct 2004 16:15:11 -0500
- Subject: Re: RFA: avoid deprecated sys_nerr variable
- References: <vt2hdoqlct2.fsf@zenia.home> <20041019130306.11883544@saguaro>
Kevin Buettner <kevinb@redhat.com> writes:
> 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.
Committed, thanks.