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 db74668c1662c9cadebe165b1383cd30925e8306..2c21234ff79d73d646237afb28926fda6d862032 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+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.
 2010-04-03  Bruno Haible  <bruno@clisp.org>
 
        time: Fix regression introduced on 2010-03-08.
index 18578007f5b836a58edb0a1ca6b7f625e2461a78..783c7b646a9637fd709bc25b529f44745eb64607 100644 (file)
@@ -4,14 +4,10 @@
 
 POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/gmtime_r.html}
 
 
 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
 
 Portability problems fixed by Gnulib:
 @itemize
-@end itemize
-
-Portability problems not fixed by Gnulib:
-@itemize
 @item
 This function is missing on some platforms:
 mingw.
 @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
 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 ea14ea8b4429cfc8a631f4c26587b33ca8cf458e..5630b00b6d5155d84f40cb912867c6f1149a6f7c 100644 (file)
@@ -4,14 +4,10 @@
 
 POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/localtime_r.html}
 
 
 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
 
 Portability problems fixed by Gnulib:
 @itemize
-@end itemize
-
-Portability problems not fixed by Gnulib:
-@itemize
 @item
 This function is missing on some platforms:
 mingw.
 @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
 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 c9032694d26309e5f9e87475603a61a2a9797812..45b9b901c60aa2b78afec929ea433bf5f2e086e7 100644 (file)
@@ -1,6 +1,6 @@
 /* Reentrant time functions like localtime_r.
 
 /* 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
 
    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 <time.h>
 
-#include <string.h>
-
 static struct tm *
 copy_tm_result (struct tm *dest, struct tm const *src)
 {
 static struct tm *
 copy_tm_result (struct tm *dest, struct tm const *src)
 {
index b5938e79638a846153d3ac660a33bb24abb063f5..8548cb6391e3a83823bfb27867ffb70040c84375 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.
 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 f181b5d590d589d19d41eec3c888e1a38815ad5e..c7874a91dc6550af8a358b325d63a8f0ca4f07fd 100644 (file)
@@ -1,5 +1,5 @@
 Description:
 Description:
-Reentrant time functions like localtime_r.
+Reentrant time functions: localtime_r, gmtime_r.
 
 Files:
 lib/time_r.c
 
 Files:
 lib/time_r.c