bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

time_r: small updates


From: Bruno Haible
Subject: time_r: small updates
Date: Sat, 3 Apr 2010 17:49:59 +0100
User-agent: KMail/1.9.9

This fixes minor issues with the time_r module: not mentioned in the
documentation, imprecise module description, unnecessary include.


2010-04-03  Bruno Haible  <address@hidden>

        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.

--- modules/time_r.orig Sat Apr  3 18:46:53 2010
+++ modules/time_r      Sat Apr  3 18:45:56 2010
@@ -1,5 +1,5 @@
 Description:
-Reentrant time functions like localtime_r.
+Reentrant time functions: localtime_r, gmtime_r.
 
 Files:
 lib/time_r.c
--- lib/time_r.c.orig   Sat Apr  3 18:46:53 2010
+++ lib/time_r.c        Sat Apr  3 18:45:56 2010
@@ -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)
 {
--- doc/posix-functions/gmtime_r.texi.orig      Sat Apr  3 18:46:53 2010
+++ doc/posix-functions/gmtime_r.texi   Sat Apr  3 18:45:56 2010
@@ -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
address@hidden itemize
-
-Portability problems not fixed by Gnulib:
address@hidden
 @item
 This function is missing on some platforms:
 mingw.
@@ -19,3 +15,7 @@
 Some platforms define a function of this name that is incompatible to POSIX:
 HP-UX 10.
 @end itemize
+
+Portability problems not fixed by Gnulib:
address@hidden
address@hidden itemize
--- doc/posix-functions/localtime_r.texi.orig   Sat Apr  3 18:46:53 2010
+++ doc/posix-functions/localtime_r.texi        Sat Apr  3 18:45:56 2010
@@ -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
address@hidden itemize
-
-Portability problems not fixed by Gnulib:
address@hidden
 @item
 This function is missing on some platforms:
 mingw.
@@ -19,3 +15,7 @@
 Some platforms define a function of this name that is incompatible to POSIX:
 HP-UX 10.
 @end itemize
+
+Portability problems not fixed by Gnulib:
address@hidden
address@hidden itemize
--- m4/time_r.m4.orig   Sat Apr  3 18:46:53 2010
+++ m4/time_r.m4        Sat Apr  3 18:45:56 2010
@@ -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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]