time_r: Minor updates.
authorBruno Haible <bruno@clisp.org>
Sat, 3 Apr 2010 16:43:42 +0000 (18:43 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 3 Apr 2010 16:47:03 +0000 (18:47 +0200)
ChangeLog
doc/posix-functions/gmtime_r.texi
doc/posix-functions/localtime_r.texi
lib/time_r.c
m4/time_r.m4
modules/time_r

index db74668..2c21234 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2010-04-03  Bruno Haible  <bruno@clisp.org>
 
+       time_r: Minor updates.
+       * modules/time_r (Description): Mention the provided functions.
+       * lib/time_r.c: Don't include <string.h>.
+       * doc/posix-functions/gmtime_r.texi: Mention the 'time_r' module.
+       * doc/posix-functions/localtime_r.texi: Likewise.
+
+2010-04-03  Bruno Haible  <bruno@clisp.org>
+
        time: Fix regression introduced on 2010-03-08.
        * m4/time_h.m4 (gl_TIME_MODULE_INDICATOR): Require
        gl_HEADER_TIME_H_DEFAULTS, not gl_HEADER_STRING_H_DEFAULTS.
index 1857800..783c7b6 100644 (file)
@@ -4,14 +4,10 @@
 
 POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/gmtime_r.html}
 
-Gnulib module: ---
+Gnulib module: time_r
 
 Portability problems fixed by Gnulib:
 @itemize
-@end itemize
-
-Portability problems not fixed by Gnulib:
-@itemize
 @item
 This function is missing on some platforms:
 mingw.
@@ -19,3 +15,7 @@ mingw.
 Some platforms define a function of this name that is incompatible to POSIX:
 HP-UX 10.
 @end itemize
+
+Portability problems not fixed by Gnulib:
+@itemize
+@end itemize
index ea14ea8..5630b00 100644 (file)
@@ -4,14 +4,10 @@
 
 POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/localtime_r.html}
 
-Gnulib module: ---
+Gnulib module: time_r
 
 Portability problems fixed by Gnulib:
 @itemize
-@end itemize
-
-Portability problems not fixed by Gnulib:
-@itemize
 @item
 This function is missing on some platforms:
 mingw.
@@ -19,3 +15,7 @@ mingw.
 Some platforms define a function of this name that is incompatible to POSIX:
 HP-UX 10.
 @end itemize
+
+Portability problems not fixed by Gnulib:
+@itemize
+@end itemize
index c903269..45b9b90 100644 (file)
@@ -1,6 +1,6 @@
 /* Reentrant time functions like localtime_r.
 
-   Copyright (C) 2003, 2006, 2007, 2009, 2010 Free Software Foundation, Inc.
+   Copyright (C) 2003, 2006-2007, 2010 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -22,8 +22,6 @@
 
 #include <time.h>
 
-#include <string.h>
-
 static struct tm *
 copy_tm_result (struct tm *dest, struct tm const *src)
 {
index b5938e7..8548cb6 100644 (file)
@@ -1,7 +1,6 @@
-dnl Reentrant time functions like localtime_r.
+dnl Reentrant time functions: localtime_r, gmtime_r.
 
-dnl Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
-dnl Inc.
+dnl Copyright (C) 2003, 2006-2010 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index f181b5d..c7874a9 100644 (file)
@@ -1,5 +1,5 @@
 Description:
-Reentrant time functions like localtime_r.
+Reentrant time functions: localtime_r, gmtime_r.
 
 Files:
 lib/time_r.c