From owner-cvs-all Sat Aug 3 21:58:22 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 DD69137B400; Sat, 3 Aug 2002 21:58:19 -0700 (PDT) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78EE843E70; Sat, 3 Aug 2002 21:58:18 -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 g744w9KC011209; Sun, 4 Aug 2002 08:58:11 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.5/8.12.5/Submit) id g744w62m011208; Sun, 4 Aug 2002 08:58:07 +0400 (MSD) (envelope-from ache) Date: Sun, 4 Aug 2002 08:58:03 +0400 From: "Andrey A. Chernov" To: Tim Robbins Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/stdlib calloc.c Message-ID: <20020804045801.GA11158@nagual.pp.ru> References: <200208040411.g744Bmue027996@freefall.freebsd.org> <20020804143921.A95134@dilbert.robbins.dropbear.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020804143921.A95134@dilbert.robbins.dropbear.id.au> 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 Sun, Aug 04, 2002 at 14:39:21 +1000, Tim Robbins wrote: > On Sat, Aug 03, 2002 at 09:11:48PM -0700, Andrey A. Chernov wrote: > > > ache 2002/08/03 21:11:48 PDT > > > > Modified files: > > lib/libc/stdlib calloc.c > > Log: > > Nonexistent SIZE_MAX -> SIZE_T_MAX > > -CURRENT has a SIZE_MAX in : > /* Limit of size_t. */ > #define SIZE_MAX UINT_MAX > > I think this is a C99 feature that hasn't been MFC'd. Anyway, I guess > using SIZE_T_MAX will make it easier to MFC the calloc.c change.. I don't have this in recently CVSupped -current. I got compilation error on calloc.c. Moreover, I just check out -current sys_i386_include/limits.h on freefall and no SIZE_MAX there. -- 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