From: Paul Eggert Date: Wed, 22 Jun 2005 19:08:21 +0000 (+0000) Subject: mktime fix to avoid a diagnostic. X-Git-Tag: CPPI-1_12~526 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a13627ac2efc9daec9a24af65d57c33f0445fe15;p=thirdparty%2Fcoreutils.git mktime fix to avoid a diagnostic. --- diff --git a/lib/ChangeLog b/lib/ChangeLog index a5a50436fe..827b39a923 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,5 +1,12 @@ 2005-06-22 Paul Eggert + * mktime.c: Include even if !DEBUG. (From glibc.) + (ranged_convert): Don't save conversion in a temporary struct. + This causes a warning with GCC 4.0.0, and anyway in the typical + case it's not worth the extra 100 bytes or so of code. + (ranged_convert, __mktime_internal): When calling a function via a + pointer P, use P () rather than (*P) (), as we now assume C89 or better. + * readutmp.c (desirable_utmp_entry): Fix bug where "who -b" and "who -r" failed to give output. Problem reported by Tim Waugh.