Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Aug 2002 14:39:21 +1000
From:      Tim Robbins <tjr@FreeBSD.org>
To:        "Andrey A. Chernov" <ache@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libc/stdlib calloc.c
Message-ID:  <20020804143921.A95134@dilbert.robbins.dropbear.id.au>
In-Reply-To: <200208040411.g744Bmue027996@freefall.freebsd.org>; from ache@FreeBSD.org on Sat, Aug 03, 2002 at 09:11:48PM -0700
References:  <200208040411.g744Bmue027996@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <machine/limits.h>:
	/* 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..


Tim

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?20020804143921.A95134>