Date: Thu, 29 Mar 2007 21:07:17 +0000 (UTC) From: Jason Evans <jasone@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdlib malloc.c Message-ID: <200703292107.l2TL7IQG039874@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jasone 2007-03-29 21:07:17 UTC FreeBSD src repository Modified files: lib/libc/stdlib malloc.c Log: Use size_t instead of unsigned for pagesize-related values, in order to avoid downcasting issues. In particular, this change fixes posix_memalign(3) for alignments greater than 2^31 on LP64 systems. Make sure that NDEBUG is always set to be compatible with MALLOC_DEBUG. [1] Reported by: [1] Lee Hyo geol <hyogeollee@gmail.com> Revision Changes Path 1.146 +8 -4 src/lib/libc/stdlib/malloc.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703292107.l2TL7IQG039874>