Commit a742bdb3 authored by Bruno Haible's avatar Bruno Haible

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.
parent fe5d8154
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.
......@@ -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.
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
Files:
tests/test-strftime.c
tests/test-nstrftime.c
tests/macros.h
Depends-on:
......@@ -8,5 +8,5 @@ strerror
configure.ac:
Makefile.am:
TESTS += test-strftime
check_PROGRAMS += test-strftime
TESTS += test-nstrftime
check_PROGRAMS += test-nstrftime
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
/* 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment