mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-09-01 02:34:55 +00:00
Rename module 'strftime' to 'nstrftime'.
* m4/nstrftime.m4: Renamed from m4/strftime.m4. * lib/nstrftime.c: Renamed from lib/strftime.c. * modules/nstrftime: Renamed from modules/strftime. (Files, Makefile.am): Update. * tests/test-nstrftime.c: Renamed from tests/test-strftime.c. Fix comment. * modules/nstrftime-tests: Renamed from modules/strftime-tests. (Files, Makefile.am): Update. * modules/strftime: New file, an obsolete indirection. * doc/posix-functions/strftime.texi: Update reference. * config/srclist.txt: Update info.
This commit is contained in:
@@ -1,3 +1,18 @@
|
||||
2017-07-23 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
Rename module 'strftime' to 'nstrftime'.
|
||||
* m4/nstrftime.m4: Renamed from m4/strftime.m4.
|
||||
* lib/nstrftime.c: Renamed from lib/strftime.c.
|
||||
* modules/nstrftime: Renamed from modules/strftime.
|
||||
(Files, Makefile.am): Update.
|
||||
* tests/test-nstrftime.c: Renamed from tests/test-strftime.c.
|
||||
Fix comment.
|
||||
* modules/nstrftime-tests: Renamed from modules/strftime-tests.
|
||||
(Files, Makefile.am): Update.
|
||||
* modules/strftime: New file, an obsolete indirection.
|
||||
* doc/posix-functions/strftime.texi: Update reference.
|
||||
* config/srclist.txt: Update info.
|
||||
|
||||
2017-07-21 Tim Rühsen <tim.ruehsen@gmx.de>
|
||||
|
||||
malloca: Silence a warning from clang's memory sanitizer.
|
||||
|
||||
+1
-1
@@ -233,7 +233,7 @@ $GETTEXT gettext-runtime/po/remove-potcdate.sin build-aux/po release
|
||||
#$LIBCSRC sysdeps/unix/bsd/unlockpt.c lib gpl
|
||||
#$LIBCSRC sysdeps/unix/dirfd.c lib gpl
|
||||
#$LIBCSRC sysdeps/unix/grantpt.c lib gpl
|
||||
#$LIBCSRC sysdeps/unix/rmdir.c lib gpl
|
||||
#$LIBCSRC sysdeps/unix/rmdir.c lib gpl (nstrftime.c in gnulib)
|
||||
#$LIBCSRC time/strftime.c lib gpl
|
||||
# These are close, but we are using the gettext versions.
|
||||
#$LIBCSRC misc/mkdtemp.c lib gpl
|
||||
|
||||
@@ -24,5 +24,5 @@ Native Windows platforms (mingw, MSVC) support only a subset of time
|
||||
zones supported by GNU or specified by POSIX. @xref{tzset}.
|
||||
@end itemize
|
||||
|
||||
Extension: Gnulib offers a module @samp{strftime} that provides an
|
||||
Extension: Gnulib offers a module @samp{nstrftime} that provides an
|
||||
@code{nstrftime} function with various GNU extensions.
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
Description:
|
||||
nstrftime() function: convert date and time to string, with GNU extensions.
|
||||
|
||||
Files:
|
||||
lib/strftime.h
|
||||
lib/nstrftime.c
|
||||
m4/tm_gmtoff.m4
|
||||
m4/nstrftime.m4
|
||||
|
||||
Depends-on:
|
||||
extensions
|
||||
stdbool
|
||||
time_rz
|
||||
|
||||
configure.ac:
|
||||
gl_FUNC_GNU_STRFTIME
|
||||
|
||||
Makefile.am:
|
||||
lib_SOURCES += nstrftime.c
|
||||
|
||||
Include:
|
||||
"strftime.h"
|
||||
|
||||
License:
|
||||
LGPL
|
||||
|
||||
Maintainer:
|
||||
Jim Meyering, glibc
|
||||
@@ -0,0 +1,12 @@
|
||||
Files:
|
||||
tests/test-nstrftime.c
|
||||
tests/macros.h
|
||||
|
||||
Depends-on:
|
||||
strerror
|
||||
|
||||
configure.ac:
|
||||
|
||||
Makefile.am:
|
||||
TESTS += test-nstrftime
|
||||
check_PROGRAMS += test-nstrftime
|
||||
+8
-10
@@ -1,22 +1,20 @@
|
||||
Description:
|
||||
nstrftime() function: convert date and time to string, with GNU extensions.
|
||||
|
||||
Status:
|
||||
obsolete
|
||||
|
||||
Notice:
|
||||
This module is obsolete. Use module 'nstrftime' instead.
|
||||
|
||||
Files:
|
||||
lib/strftime.h
|
||||
lib/strftime.c
|
||||
m4/tm_gmtoff.m4
|
||||
m4/strftime.m4
|
||||
|
||||
Depends-on:
|
||||
extensions
|
||||
stdbool
|
||||
time_rz
|
||||
nstrftime
|
||||
|
||||
configure.ac:
|
||||
gl_FUNC_GNU_STRFTIME
|
||||
|
||||
Makefile.am:
|
||||
lib_SOURCES += strftime.c
|
||||
|
||||
Include:
|
||||
"strftime.h"
|
||||
@@ -25,4 +23,4 @@ License:
|
||||
LGPL
|
||||
|
||||
Maintainer:
|
||||
Jim Meyering, glibc
|
||||
all
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
Files:
|
||||
tests/test-strftime.c
|
||||
tests/macros.h
|
||||
|
||||
Depends-on:
|
||||
strerror
|
||||
|
||||
configure.ac:
|
||||
|
||||
Makefile.am:
|
||||
TESTS += test-strftime
|
||||
check_PROGRAMS += test-strftime
|
||||
@@ -1,4 +1,4 @@
|
||||
/* Test that posixtime works as required.
|
||||
/* Test that nstrftime works as required.
|
||||
Copyright (C) 2011-2017 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
Reference in New Issue
Block a user