Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Aug 2002 01:37:16 -0400
From:      Mike Barcroft <mike@FreeBSD.org>
To:        "Andrey A. Chernov" <ache@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libc/nls msgcat.c
Message-ID:  <20020809013716.C94821@espresso.q9media.com>
In-Reply-To: <200208072203.g77M3lZg077170@freefall.freebsd.org>; from ache@FreeBSD.org on Wed, Aug 07, 2002 at 03:03:47PM -0700
References:  <200208072203.g77M3lZg077170@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrey A. Chernov <ache@FreeBSD.org> writes:
> ache        2002/08/07 15:03:47 PDT
> 
>   Modified files:
>     lib/libc/nls         msgcat.c 
>   Log:
>   Always set errno to ENOMEM after malloc failed (as workaround).
>   Our malloc sometimes forget to set errno, f.e. for size overflow case.

Can't you just fix malloc()?

Best regards,
Mike Barcroft

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020809013716.C94821>