From owner-cvs-all Thu Aug 8 22:42:28 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E042737B400; Thu, 8 Aug 2002 22:42:23 -0700 (PDT) Received: from espresso.q9media.com (espresso.q9media.com [65.39.129.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 573A043E81; Thu, 8 Aug 2002 22:42:23 -0700 (PDT) (envelope-from mike@espresso.q9media.com) Received: by espresso.q9media.com (Postfix, from userid 1002) id A2DC29E5A; Fri, 9 Aug 2002 01:37:16 -0400 (EDT) Date: Fri, 9 Aug 2002 01:37:16 -0400 From: Mike Barcroft To: "Andrey A. Chernov" 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> References: <200208072203.g77M3lZg077170@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200208072203.g77M3lZg077170@freefall.freebsd.org>; from ache@FreeBSD.org on Wed, Aug 07, 2002 at 03:03:47PM -0700 Organization: The FreeBSD Project Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Andrey A. Chernov 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