mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-08 17:22:05 +03:00
time-h: Renamed from time.
* modules/time-h: Renamed from modules/time. * tests/test-time-h.c: Renamed from tests/test-time.c. * modules/time-h-tests: Renamed from modules/time-tests. Update. * tests/test-time-h-c++.cc: Renamed from tests/test-time-c++.cc. * tests/test-time-h-c++2.cc: Renamed from tests/test-time-c++2.cc. * modules/time-h-c++-tests: Renamed from modules/time-c++-tests. Update. * modules/cond (Depends-on): Update. * modules/ctime (Depends-on): Likewise. * modules/localtime (Depends-on): Likewise. * modules/mktime (Depends-on): Likewise. * modules/nanosleep (Depends-on): Likewise. * modules/parse-datetime (Depends-on): Likewise. * modules/posixcheck (Depends-on): Likewise. * modules/pthread-h (Depends-on): Likewise. * modules/stat-time (Depends-on): Likewise. * modules/stat-time-tests (Depends-on): Likewise. * modules/strftime-fixes (Depends-on): Likewise. * modules/strptime (Depends-on): Likewise. * modules/sys_stat (Depends-on): Likewise. * modules/tempname (Depends-on): Likewise. * modules/threads-h (Depends-on): Likewise. * modules/time_r (Depends-on): Likewise. * modules/time_rz (Depends-on): Likewise. * modules/timegm (Depends-on): Likewise. * modules/timespec (Depends-on): Likewise. * modules/timespec_get (Depends-on): Likewise. * modules/timespec_getres (Depends-on): Likewise. * modules/tzset (Depends-on): Likewise. * modules/usleep-tests (Depends-on): Likewise. * modules/utime (Depends-on): Likewise. * modules/utimecmp (Depends-on): Likewise. * modules/utimens (Depends-on): Likewise. * modules/windows-cond (Depends-on): Likewise. * modules/windows-timedmutex (Depends-on): Likewise. * modules/windows-timedrecmutex (Depends-on): Likewise. * modules/windows-timedrwlock (Depends-on): Likewise. * modules/xnanosleep (Depends-on): Likewise. * doc/posix-headers/time.texi: Update. * NEWS: Mention the change.
This commit is contained in:
43
ChangeLog
43
ChangeLog
@@ -1,3 +1,46 @@
|
|||||||
|
2023-03-08 Bruno Haible <bruno@clisp.org>
|
||||||
|
|
||||||
|
time-h: Renamed from time.
|
||||||
|
* modules/time-h: Renamed from modules/time.
|
||||||
|
* tests/test-time-h.c: Renamed from tests/test-time.c.
|
||||||
|
* modules/time-h-tests: Renamed from modules/time-tests. Update.
|
||||||
|
* tests/test-time-h-c++.cc: Renamed from tests/test-time-c++.cc.
|
||||||
|
* tests/test-time-h-c++2.cc: Renamed from tests/test-time-c++2.cc.
|
||||||
|
* modules/time-h-c++-tests: Renamed from modules/time-c++-tests. Update.
|
||||||
|
* modules/cond (Depends-on): Update.
|
||||||
|
* modules/ctime (Depends-on): Likewise.
|
||||||
|
* modules/localtime (Depends-on): Likewise.
|
||||||
|
* modules/mktime (Depends-on): Likewise.
|
||||||
|
* modules/nanosleep (Depends-on): Likewise.
|
||||||
|
* modules/parse-datetime (Depends-on): Likewise.
|
||||||
|
* modules/posixcheck (Depends-on): Likewise.
|
||||||
|
* modules/pthread-h (Depends-on): Likewise.
|
||||||
|
* modules/stat-time (Depends-on): Likewise.
|
||||||
|
* modules/stat-time-tests (Depends-on): Likewise.
|
||||||
|
* modules/strftime-fixes (Depends-on): Likewise.
|
||||||
|
* modules/strptime (Depends-on): Likewise.
|
||||||
|
* modules/sys_stat (Depends-on): Likewise.
|
||||||
|
* modules/tempname (Depends-on): Likewise.
|
||||||
|
* modules/threads-h (Depends-on): Likewise.
|
||||||
|
* modules/time_r (Depends-on): Likewise.
|
||||||
|
* modules/time_rz (Depends-on): Likewise.
|
||||||
|
* modules/timegm (Depends-on): Likewise.
|
||||||
|
* modules/timespec (Depends-on): Likewise.
|
||||||
|
* modules/timespec_get (Depends-on): Likewise.
|
||||||
|
* modules/timespec_getres (Depends-on): Likewise.
|
||||||
|
* modules/tzset (Depends-on): Likewise.
|
||||||
|
* modules/usleep-tests (Depends-on): Likewise.
|
||||||
|
* modules/utime (Depends-on): Likewise.
|
||||||
|
* modules/utimecmp (Depends-on): Likewise.
|
||||||
|
* modules/utimens (Depends-on): Likewise.
|
||||||
|
* modules/windows-cond (Depends-on): Likewise.
|
||||||
|
* modules/windows-timedmutex (Depends-on): Likewise.
|
||||||
|
* modules/windows-timedrecmutex (Depends-on): Likewise.
|
||||||
|
* modules/windows-timedrwlock (Depends-on): Likewise.
|
||||||
|
* modules/xnanosleep (Depends-on): Likewise.
|
||||||
|
* doc/posix-headers/time.texi: Update.
|
||||||
|
* NEWS: Mention the change.
|
||||||
|
|
||||||
2023-03-08 Bruno Haible <bruno@clisp.org>
|
2023-03-08 Bruno Haible <bruno@clisp.org>
|
||||||
|
|
||||||
gettimeofday tests: Enhance test.
|
gettimeofday tests: Enhance test.
|
||||||
|
2
NEWS
2
NEWS
@@ -74,6 +74,8 @@ User visible incompatible changes
|
|||||||
|
|
||||||
Date Modules Changes
|
Date Modules Changes
|
||||||
|
|
||||||
|
2023-03-08 time This module is renamed to 'time-h'.
|
||||||
|
|
||||||
2023-02-07 c-nullptr Rename this module to nullptr.
|
2023-02-07 c-nullptr Rename this module to nullptr.
|
||||||
|
|
||||||
2023-01-21 getprogname The include file is changed from "getprogname.h"
|
2023-01-21 getprogname The include file is changed from "getprogname.h"
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/time.h.html}
|
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/time.h.html}
|
||||||
|
|
||||||
Gnulib module: time
|
Gnulib module: time-h
|
||||||
|
|
||||||
Portability problems fixed by Gnulib:
|
Portability problems fixed by Gnulib:
|
||||||
@itemize
|
@itemize
|
||||||
|
@@ -12,7 +12,7 @@ lock
|
|||||||
errno
|
errno
|
||||||
extern-inline
|
extern-inline
|
||||||
stdbool
|
stdbool
|
||||||
time
|
time-h
|
||||||
windows-cond [test $gl_threads_api = windows]
|
windows-cond [test $gl_threads_api = windows]
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
@@ -10,7 +10,7 @@ lib/ctime.c
|
|||||||
m4/ctime.m4
|
m4/ctime.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
time
|
time-h
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
gl_FUNC_CTIME
|
gl_FUNC_CTIME
|
||||||
|
@@ -6,7 +6,7 @@ lib/localtime.c
|
|||||||
m4/localtime.m4
|
m4/localtime.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
time
|
time-h
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
gl_FUNC_LOCALTIME
|
gl_FUNC_LOCALTIME
|
||||||
|
@@ -7,7 +7,7 @@ lib/mktime.c
|
|||||||
m4/mktime.m4
|
m4/mktime.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
time
|
time-h
|
||||||
c99
|
c99
|
||||||
multiarch
|
multiarch
|
||||||
intprops [test $REPLACE_MKTIME = 1]
|
intprops [test $REPLACE_MKTIME = 1]
|
||||||
|
@@ -6,7 +6,7 @@ lib/nanosleep.c
|
|||||||
m4/nanosleep.m4
|
m4/nanosleep.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
time
|
time-h
|
||||||
extensions
|
extensions
|
||||||
multiarch
|
multiarch
|
||||||
assert-h [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1]
|
assert-h [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1]
|
||||||
|
@@ -23,7 +23,7 @@ mktime
|
|||||||
nstrftime
|
nstrftime
|
||||||
setenv
|
setenv
|
||||||
unsetenv
|
unsetenv
|
||||||
time
|
time-h
|
||||||
time_r
|
time_r
|
||||||
time_rz
|
time_rz
|
||||||
timegm
|
timegm
|
||||||
|
@@ -40,7 +40,7 @@ sys_times
|
|||||||
sys_utsname
|
sys_utsname
|
||||||
sys_wait
|
sys_wait
|
||||||
termios
|
termios
|
||||||
time
|
time-h
|
||||||
unistd
|
unistd
|
||||||
utime-h
|
utime-h
|
||||||
wchar
|
wchar
|
||||||
|
@@ -11,7 +11,7 @@ extensions
|
|||||||
extern-inline
|
extern-inline
|
||||||
gen-header
|
gen-header
|
||||||
sched
|
sched
|
||||||
time
|
time-h
|
||||||
snippet/c++defs
|
snippet/c++defs
|
||||||
snippet/_Noreturn
|
snippet/_Noreturn
|
||||||
snippet/arg-nonnull
|
snippet/arg-nonnull
|
||||||
|
@@ -7,7 +7,7 @@ lib/stat-time.c
|
|||||||
m4/stat-time.m4
|
m4/stat-time.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
time
|
time-h
|
||||||
errno
|
errno
|
||||||
extensions
|
extensions
|
||||||
extern-inline
|
extern-inline
|
||||||
|
@@ -6,7 +6,7 @@ tests/nap.h
|
|||||||
Depends-on:
|
Depends-on:
|
||||||
nanosleep
|
nanosleep
|
||||||
stdckdint
|
stdckdint
|
||||||
time
|
time-h
|
||||||
unistd
|
unistd
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
@@ -6,7 +6,7 @@ lib/strftime-fixes.c
|
|||||||
m4/strftime-fixes.m4
|
m4/strftime-fixes.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
time
|
time-h
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
gl_FUNC_STRFTIME
|
gl_FUNC_STRFTIME
|
||||||
|
@@ -7,7 +7,7 @@ m4/strptime.m4
|
|||||||
m4/tm_gmtoff.m4
|
m4/tm_gmtoff.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
time
|
time-h
|
||||||
extensions
|
extensions
|
||||||
sys_time [test $HAVE_STRPTIME = 0]
|
sys_time [test $HAVE_STRPTIME = 0]
|
||||||
string [test $HAVE_STRPTIME = 0]
|
string [test $HAVE_STRPTIME = 0]
|
||||||
|
@@ -14,7 +14,7 @@ snippet/arg-nonnull
|
|||||||
snippet/c++defs
|
snippet/c++defs
|
||||||
snippet/warn-on-use
|
snippet/warn-on-use
|
||||||
sys_types
|
sys_types
|
||||||
time
|
time-h
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
gl_SYS_STAT_H
|
gl_SYS_STAT_H
|
||||||
|
@@ -19,7 +19,7 @@ mkdir
|
|||||||
stdbool
|
stdbool
|
||||||
stdint
|
stdint
|
||||||
sys_stat
|
sys_stat
|
||||||
time
|
time-h
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
gl_FUNC_GEN_TEMPNAME
|
gl_FUNC_GEN_TEMPNAME
|
||||||
|
@@ -23,7 +23,7 @@ snippet/c++defs
|
|||||||
snippet/_Noreturn
|
snippet/_Noreturn
|
||||||
snippet/arg-nonnull
|
snippet/arg-nonnull
|
||||||
snippet/warn-on-use
|
snippet/warn-on-use
|
||||||
time
|
time-h
|
||||||
havelib
|
havelib
|
||||||
|
|
||||||
configure.ac-early:
|
configure.ac-early:
|
||||||
|
@@ -1,20 +0,0 @@
|
|||||||
Files:
|
|
||||||
tests/test-time-c++.cc
|
|
||||||
tests/test-time-c++2.cc
|
|
||||||
tests/signature.h
|
|
||||||
|
|
||||||
Status:
|
|
||||||
c++-test
|
|
||||||
|
|
||||||
Depends-on:
|
|
||||||
ansi-c++-opt
|
|
||||||
|
|
||||||
configure.ac:
|
|
||||||
|
|
||||||
Makefile.am:
|
|
||||||
if ANSICXX
|
|
||||||
TESTS += test-time-c++
|
|
||||||
check_PROGRAMS += test-time-c++
|
|
||||||
test_time_c___SOURCES = test-time-c++.cc test-time-c++2.cc
|
|
||||||
test_time_c___LDADD = $(LDADD) $(LIBINTL) $(NANOSLEEP_LIB) $(CLOCK_TIME_LIB)
|
|
||||||
endif
|
|
20
modules/time-h-c++-tests
Normal file
20
modules/time-h-c++-tests
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
Files:
|
||||||
|
tests/test-time-h-c++.cc
|
||||||
|
tests/test-time-h-c++2.cc
|
||||||
|
tests/signature.h
|
||||||
|
|
||||||
|
Status:
|
||||||
|
c++-test
|
||||||
|
|
||||||
|
Depends-on:
|
||||||
|
ansi-c++-opt
|
||||||
|
|
||||||
|
configure.ac:
|
||||||
|
|
||||||
|
Makefile.am:
|
||||||
|
if ANSICXX
|
||||||
|
TESTS += test-time-h-c++
|
||||||
|
check_PROGRAMS += test-time-h-c++
|
||||||
|
test_time_h_c___SOURCES = test-time-h-c++.cc test-time-h-c++2.cc
|
||||||
|
test_time_h_c___LDADD = $(LDADD) $(LIBINTL) $(NANOSLEEP_LIB) $(CLOCK_TIME_LIB)
|
||||||
|
endif
|
12
modules/time-h-tests
Normal file
12
modules/time-h-tests
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
Files:
|
||||||
|
tests/test-time-h.c
|
||||||
|
|
||||||
|
Depends-on:
|
||||||
|
assert-h
|
||||||
|
time-h-c++-tests
|
||||||
|
|
||||||
|
configure.ac:
|
||||||
|
|
||||||
|
Makefile.am:
|
||||||
|
TESTS += test-time-h
|
||||||
|
check_PROGRAMS += test-time-h
|
@@ -1,12 +0,0 @@
|
|||||||
Files:
|
|
||||||
tests/test-time.c
|
|
||||||
|
|
||||||
Depends-on:
|
|
||||||
assert-h
|
|
||||||
time-c++-tests
|
|
||||||
|
|
||||||
configure.ac:
|
|
||||||
|
|
||||||
Makefile.am:
|
|
||||||
TESTS += test-time
|
|
||||||
check_PROGRAMS += test-time
|
|
@@ -7,7 +7,7 @@ m4/time_r.m4
|
|||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
extensions
|
extensions
|
||||||
time
|
time-h
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
gl_TIME_R
|
gl_TIME_R
|
||||||
|
@@ -9,7 +9,7 @@ m4/time_rz.m4
|
|||||||
Depends-on:
|
Depends-on:
|
||||||
c99
|
c99
|
||||||
extensions
|
extensions
|
||||||
time
|
time-h
|
||||||
flexmember [test $HAVE_TIMEZONE_T = 0]
|
flexmember [test $HAVE_TIMEZONE_T = 0]
|
||||||
idx [test $HAVE_TIMEZONE_T = 0]
|
idx [test $HAVE_TIMEZONE_T = 0]
|
||||||
setenv [test $HAVE_TIMEZONE_T = 0]
|
setenv [test $HAVE_TIMEZONE_T = 0]
|
||||||
|
@@ -7,7 +7,7 @@ lib/timegm.c
|
|||||||
m4/timegm.m4
|
m4/timegm.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
time
|
time-h
|
||||||
mktime-internal [test $HAVE_TIMEGM = 0 || test $REPLACE_TIMEGM = 1]
|
mktime-internal [test $HAVE_TIMEGM = 0 || test $REPLACE_TIMEGM = 1]
|
||||||
time_r [test $HAVE_TIMEGM = 0 || test $REPLACE_TIMEGM = 1]
|
time_r [test $HAVE_TIMEGM = 0 || test $REPLACE_TIMEGM = 1]
|
||||||
|
|
||||||
|
@@ -9,7 +9,7 @@ m4/timespec.m4
|
|||||||
Depends-on:
|
Depends-on:
|
||||||
extern-inline
|
extern-inline
|
||||||
snippet/arg-nonnull
|
snippet/arg-nonnull
|
||||||
time
|
time-h
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
gl_TIMESPEC
|
gl_TIMESPEC
|
||||||
|
@@ -6,7 +6,7 @@ lib/timespec_get.c
|
|||||||
m4/timespec_get.m4
|
m4/timespec_get.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
time
|
time-h
|
||||||
extensions
|
extensions
|
||||||
gettime [test $HAVE_TIMESPEC_GET = 0 || test $REPLACE_TIMESPEC_GET = 1]
|
gettime [test $HAVE_TIMESPEC_GET = 0 || test $REPLACE_TIMESPEC_GET = 1]
|
||||||
|
|
||||||
|
@@ -7,7 +7,7 @@ m4/timespec_getres.m4
|
|||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
extensions
|
extensions
|
||||||
time
|
time-h
|
||||||
gettime-res [test $HAVE_TIMESPEC_GETRES = 0]
|
gettime-res [test $HAVE_TIMESPEC_GETRES = 0]
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
@@ -6,7 +6,7 @@ lib/tzset.c
|
|||||||
m4/tzset.m4
|
m4/tzset.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
time
|
time-h
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
gl_FUNC_TZSET
|
gl_FUNC_TZSET
|
||||||
|
@@ -4,7 +4,7 @@ tests/signature.h
|
|||||||
tests/macros.h
|
tests/macros.h
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
time
|
time-h
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
|
||||||
|
@@ -7,7 +7,7 @@ m4/utime.m4
|
|||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
utime-h
|
utime-h
|
||||||
time
|
time-h
|
||||||
filename [test $HAVE_UTIME = 0 || test $REPLACE_UTIME = 1]
|
filename [test $HAVE_UTIME = 0 || test $REPLACE_UTIME = 1]
|
||||||
malloca [test $HAVE_UTIME = 0 || test $REPLACE_UTIME = 1]
|
malloca [test $HAVE_UTIME = 0 || test $REPLACE_UTIME = 1]
|
||||||
stat [test $HAVE_UTIME = 0 || test $REPLACE_UTIME = 1]
|
stat [test $HAVE_UTIME = 0 || test $REPLACE_UTIME = 1]
|
||||||
|
@@ -11,7 +11,7 @@ dirname-lgpl
|
|||||||
fstatat
|
fstatat
|
||||||
hash
|
hash
|
||||||
stat-time
|
stat-time
|
||||||
time
|
time-h
|
||||||
utimensat
|
utimensat
|
||||||
intprops
|
intprops
|
||||||
stdbool
|
stdbool
|
||||||
|
@@ -20,7 +20,7 @@ stat-time
|
|||||||
stdbool
|
stdbool
|
||||||
sys_stat
|
sys_stat
|
||||||
sys_time
|
sys_time
|
||||||
time
|
time-h
|
||||||
utime
|
utime
|
||||||
utime-h
|
utime-h
|
||||||
|
|
||||||
|
@@ -9,7 +9,7 @@ lib/windows-initguard.h
|
|||||||
Depends-on:
|
Depends-on:
|
||||||
stdbool
|
stdbool
|
||||||
errno
|
errno
|
||||||
time
|
time-h
|
||||||
gettimeofday
|
gettimeofday
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
@@ -8,7 +8,7 @@ lib/windows-initguard.h
|
|||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
errno
|
errno
|
||||||
time
|
time-h
|
||||||
gettimeofday
|
gettimeofday
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
@@ -8,7 +8,7 @@ lib/windows-initguard.h
|
|||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
errno
|
errno
|
||||||
time
|
time-h
|
||||||
gettimeofday
|
gettimeofday
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
@@ -9,7 +9,7 @@ lib/windows-initguard.h
|
|||||||
Depends-on:
|
Depends-on:
|
||||||
errno
|
errno
|
||||||
stdbool
|
stdbool
|
||||||
time
|
time-h
|
||||||
gettimeofday
|
gettimeofday
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
@@ -11,7 +11,7 @@ c99
|
|||||||
dtotimespec
|
dtotimespec
|
||||||
intprops
|
intprops
|
||||||
nanosleep
|
nanosleep
|
||||||
time
|
time-h
|
||||||
unistd
|
unistd
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
Reference in New Issue
Block a user