summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-06-22 19:08:21 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-06-22 19:08:21 +0000
commita13627ac2efc9daec9a24af65d57c33f0445fe15 (patch)
treef1f8cfd4089fce272ecad2055416fb6c40ae3681 /lib
parent8834b5787769f93503bdbe83ee00c1a78418352b (diff)
downloadcoreutils-a13627ac2efc9daec9a24af65d57c33f0445fe15.tar.xz
mktime fix to avoid a diagnostic.
Diffstat (limited to 'lib')
-rw-r--r--lib/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index a5a50436f..827b39a92 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,5 +1,12 @@
2005-06-22 Paul Eggert <eggert@cs.ucla.edu>
+ * mktime.c: Include <string.h> 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.