This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: undefined errno on targets with MALLOC_PROVIDED
- To: Egor Duda <newlib at sources dot redhat dot com>
- Subject: Re: undefined errno on targets with MALLOC_PROVIDED
- From: "J. Johnston" <jjohnstn at cygnus dot com>
- Date: Wed, 21 Mar 2001 16:50:19 -0500
- Organization: Red Hat Inc.
- References: <10490514002.20010321153902@logos-m.ru>
Egor Duda wrote:
>
> Hi!
>
> files in libc/reent/ all declare extern int errno; which is defined
> in libc/reent/sbrkr.c, but when building with -DMALLOC_PROVIDED
> sbrkr.c contents are skipped, so errno is left undefined.
>
> Egor. mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19
>
> ----------------------------------------------------------------------------------------------------
> Name: reent-errno-with-malloc-provided.ChangeLog
> reent-errno-with-malloc-provided.ChangeLog Type: unspecified type (application/octet-stream)
> Encoding: base64
>
> Name: reent-errno-with-malloc-provided.diff
> reent-errno-with-malloc-provided.diff Type: unspecified type (application/octet-stream)
> Encoding: base64
Patch checked in.
-- Jeff J.