From: Paul Eggert Date: Tue, 5 Jul 2005 06:33:24 +0000 (+0000) Subject: Remove the need for typeof. X-Git-Tag: CPPI-1_12~305 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a7a648d4d4b57d46151d337d06cebaf9796d2242;p=thirdparty%2Fcoreutils.git Remove the need for typeof. --- diff --git a/ChangeLog b/ChangeLog index b0551dd5be..67e6d00693 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,13 @@ * Version 5.3.1. + * src/system.h (VERIFY_W_TYPEOF): Remove; no longer needed. + (DECIMAL_DIGIT_ACCUMULATE): Change last arg from T's maximum value + to T itself. All callers changed. Check that T is unsigned, and + that Accum is of type T. This fixes a bug in the unlikely case + where SIZE_MAX <= INT_MAX, and it no longer requires typeof to do + the proper validity checks. + * src/od.c: Adjust to verify.h change. * src/system.h (VERIFY_W_TYPEOF): Likewise.