From owner-cvs-all Fri Aug 9 1: 7: 4 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 7478137B400; Fri, 9 Aug 2002 01:07:00 -0700 (PDT) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6381F43E88; Fri, 9 Aug 2002 01:06:59 -0700 (PDT) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.5/8.12.5) with ESMTP id g7986vG4003538; Fri, 9 Aug 2002 12:06:58 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.5/8.12.5/Submit) id g7986uLR003537; Fri, 9 Aug 2002 12:06:56 +0400 (MSD) (envelope-from ache) Date: Fri, 9 Aug 2002 12:06:56 +0400 From: "Andrey A. Chernov" To: Mike Barcroft Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/nls msgcat.c Message-ID: <20020809080656.GB3293@nagual.pp.ru> References: <200208072203.g77M3lZg077170@freefall.freebsd.org> <20020809013716.C94821@espresso.q9media.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020809013716.C94821@espresso.q9media.com> User-Agent: Mutt/1.5.1i 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 On Fri, Aug 09, 2002 at 01:37:16 -0400, Mike Barcroft wrote: > 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()? In progress. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message