diff options
| author | Paul Eggert | 2017-07-23 22:21:38 -0700 |
|---|---|---|
| committer | Paul Eggert | 2017-07-23 22:23:49 -0700 |
| commit | 9b971bdd340e83c71068892d41baeb243e233f71 (patch) | |
| tree | 3f7cca497a8e1cc698b39456714a30b842427356 | |
| parent | 1f450f1d3531cb53ebe50744c85c90141fce7ad0 (diff) | |
| download | emacs-9b971bdd340e83c71068892d41baeb243e233f71.tar.gz emacs-9b971bdd340e83c71068892d41baeb243e233f71.zip | |
Merge from gnulib
This incorporates:
2017-07-23 Rename module 'strftime' to 'nstrftime'
* admin/merge-gnulib (GNULIB_MODULES): Add nstrftime, remove strftime.
* build-aux/config.guess: Copy from gnulib.
* lib/nstrftime.c: Rename from lib/strftime.c.
* m4/nstrftime.m4: Rename from m4/strftime.m4.
* lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
| -rwxr-xr-x | admin/merge-gnulib | 4 | ||||
| -rwxr-xr-x | build-aux/config.guess | 6 | ||||
| -rw-r--r-- | lib/gnulib.mk.in | 22 | ||||
| -rw-r--r-- | lib/nstrftime.c (renamed from lib/strftime.c) | 0 | ||||
| -rw-r--r-- | m4/gnulib-comp.m4 | 8 | ||||
| -rw-r--r-- | m4/nstrftime.m4 (renamed from m4/strftime.m4) | 0 |
6 files changed, 20 insertions, 20 deletions
diff --git a/admin/merge-gnulib b/admin/merge-gnulib index 2b1a16a10ec..18c9ee8def7 100755 --- a/admin/merge-gnulib +++ b/admin/merge-gnulib | |||
| @@ -35,10 +35,10 @@ GNULIB_MODULES=' | |||
| 35 | filemode filevercmp flexmember fstatat fsync | 35 | filemode filevercmp flexmember fstatat fsync |
| 36 | getloadavg getopt-gnu gettime gettimeofday gitlog-to-changelog | 36 | getloadavg getopt-gnu gettime gettimeofday gitlog-to-changelog |
| 37 | ignore-value intprops largefile lstat | 37 | ignore-value intprops largefile lstat |
| 38 | manywarnings memrchr minmax mkostemp mktime | 38 | manywarnings memrchr minmax mkostemp mktime nstrftime |
| 39 | pipe2 pselect pthread_sigmask putenv qcopy-acl readlink readlinkat | 39 | pipe2 pselect pthread_sigmask putenv qcopy-acl readlink readlinkat |
| 40 | sig2str socklen stat-time std-gnu11 stdalign stddef stdio | 40 | sig2str socklen stat-time std-gnu11 stdalign stddef stdio |
| 41 | stpcpy strftime strtoimax symlink sys_stat | 41 | stpcpy strtoimax symlink sys_stat |
| 42 | sys_time time time_r time_rz timegm timer-time timespec-add timespec-sub | 42 | sys_time time time_r time_rz timegm timer-time timespec-add timespec-sub |
| 43 | update-copyright unlocked-io utimens | 43 | update-copyright unlocked-io utimens |
| 44 | vla warnings | 44 | vla warnings |
diff --git a/build-aux/config.guess b/build-aux/config.guess index 2193702b12a..07785f54515 100755 --- a/build-aux/config.guess +++ b/build-aux/config.guess | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | # Attempt to guess a canonical system name. | 2 | # Attempt to guess a canonical system name. |
| 3 | # Copyright 1992-2017 Free Software Foundation, Inc. | 3 | # Copyright 1992-2017 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | timestamp='2017-05-27' | 5 | timestamp='2017-07-19' |
| 6 | 6 | ||
| 7 | # This file is free software; you can redistribute it and/or modify it | 7 | # This file is free software; you can redistribute it and/or modify it |
| 8 | # under the terms of the GNU General Public License as published by | 8 | # under the terms of the GNU General Public License as published by |
| @@ -1429,8 +1429,8 @@ cat >&2 <<EOF | |||
| 1429 | $0: unable to guess system type | 1429 | $0: unable to guess system type |
| 1430 | 1430 | ||
| 1431 | This script (version $timestamp), has failed to recognize the | 1431 | This script (version $timestamp), has failed to recognize the |
| 1432 | operating system you are using. If your script is old, overwrite | 1432 | operating system you are using. If your script is old, overwrite *all* |
| 1433 | config.guess and config.sub with the latest versions from: | 1433 | copies of config.guess and config.sub with the latest versions from: |
| 1434 | 1434 | ||
| 1435 | http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess | 1435 | http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess |
| 1436 | and | 1436 | and |
diff --git a/lib/gnulib.mk.in b/lib/gnulib.mk.in index e20487b10b4..3e57391372a 100644 --- a/lib/gnulib.mk.in +++ b/lib/gnulib.mk.in | |||
| @@ -21,7 +21,7 @@ | |||
| 21 | # the same distribution terms as the rest of that program. | 21 | # the same distribution terms as the rest of that program. |
| 22 | # | 22 | # |
| 23 | # Generated by gnulib-tool. | 23 | # Generated by gnulib-tool. |
| 24 | # Reproduce by: gnulib-tool --import --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --avoid=close --avoid=dup --avoid=fchdir --avoid=fstat --avoid=malloc-posix --avoid=msvc-inval --avoid=msvc-nothrow --avoid=open --avoid=openat-die --avoid=opendir --avoid=raise --avoid=save-cwd --avoid=select --avoid=setenv --avoid=sigprocmask --avoid=stat --avoid=stdarg --avoid=stdbool --avoid=threadlib --avoid=tzset --avoid=unsetenv --avoid=utime --avoid=utime-h --gnu-make --makefile-name=gnulib.mk.in --conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca-opt binary-io byteswap c-ctype c-strcase careadlinkat close-stream count-leading-zeros count-one-bits count-trailing-zeros crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 diffseq dtoastr dtotimespec dup2 environ execinfo explicit_bzero faccessat fcntl fcntl-h fdatasync fdopendir filemode filevercmp flexmember fstatat fsync getloadavg getopt-gnu gettime gettimeofday gitlog-to-changelog ignore-value intprops largefile lstat manywarnings memrchr minmax mkostemp mktime pipe2 pselect pthread_sigmask putenv qcopy-acl readlink readlinkat sig2str socklen stat-time std-gnu11 stdalign stddef stdio stpcpy strftime strtoimax symlink sys_stat sys_time time time_r time_rz timegm timer-time timespec-add timespec-sub unlocked-io update-copyright utimens vla warnings | 24 | # Reproduce by: gnulib-tool --import --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --avoid=close --avoid=dup --avoid=fchdir --avoid=fstat --avoid=malloc-posix --avoid=msvc-inval --avoid=msvc-nothrow --avoid=open --avoid=openat-die --avoid=opendir --avoid=raise --avoid=save-cwd --avoid=select --avoid=setenv --avoid=sigprocmask --avoid=stat --avoid=stdarg --avoid=stdbool --avoid=threadlib --avoid=tzset --avoid=unsetenv --avoid=utime --avoid=utime-h --gnu-make --makefile-name=gnulib.mk.in --conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca-opt binary-io byteswap c-ctype c-strcase careadlinkat close-stream count-leading-zeros count-one-bits count-trailing-zeros crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 diffseq dtoastr dtotimespec dup2 environ execinfo explicit_bzero faccessat fcntl fcntl-h fdatasync fdopendir filemode filevercmp flexmember fstatat fsync getloadavg getopt-gnu gettime gettimeofday gitlog-to-changelog ignore-value intprops largefile lstat manywarnings memrchr minmax mkostemp mktime nstrftime pipe2 pselect pthread_sigmask putenv qcopy-acl readlink readlinkat sig2str socklen stat-time std-gnu11 stdalign stddef stdio stpcpy strtoimax symlink sys_stat sys_time time time_r time_rz timegm timer-time timespec-add timespec-sub unlocked-io update-copyright utimens vla warnings |
| 25 | 25 | ||
| 26 | 26 | ||
| 27 | MOSTLYCLEANFILES += core *.stackdump | 27 | MOSTLYCLEANFILES += core *.stackdump |
| @@ -1811,6 +1811,16 @@ EXTRA_libgnu_a_SOURCES += mktime.c | |||
| 1811 | endif | 1811 | endif |
| 1812 | ## end gnulib module mktime-internal | 1812 | ## end gnulib module mktime-internal |
| 1813 | 1813 | ||
| 1814 | ## begin gnulib module nstrftime | ||
| 1815 | ifeq (,$(OMIT_GNULIB_MODULE_nstrftime)) | ||
| 1816 | |||
| 1817 | libgnu_a_SOURCES += nstrftime.c | ||
| 1818 | |||
| 1819 | EXTRA_DIST += strftime.h | ||
| 1820 | |||
| 1821 | endif | ||
| 1822 | ## end gnulib module nstrftime | ||
| 1823 | |||
| 1814 | ## begin gnulib module openat-h | 1824 | ## begin gnulib module openat-h |
| 1815 | ifeq (,$(OMIT_GNULIB_MODULE_openat-h)) | 1825 | ifeq (,$(OMIT_GNULIB_MODULE_openat-h)) |
| 1816 | 1826 | ||
| @@ -2399,16 +2409,6 @@ EXTRA_libgnu_a_SOURCES += stpcpy.c | |||
| 2399 | endif | 2409 | endif |
| 2400 | ## end gnulib module stpcpy | 2410 | ## end gnulib module stpcpy |
| 2401 | 2411 | ||
| 2402 | ## begin gnulib module strftime | ||
| 2403 | ifeq (,$(OMIT_GNULIB_MODULE_strftime)) | ||
| 2404 | |||
| 2405 | libgnu_a_SOURCES += strftime.c | ||
| 2406 | |||
| 2407 | EXTRA_DIST += strftime.h | ||
| 2408 | |||
| 2409 | endif | ||
| 2410 | ## end gnulib module strftime | ||
| 2411 | |||
| 2412 | ## begin gnulib module string | 2412 | ## begin gnulib module string |
| 2413 | ifeq (,$(OMIT_GNULIB_MODULE_string)) | 2413 | ifeq (,$(OMIT_GNULIB_MODULE_string)) |
| 2414 | 2414 | ||
diff --git a/lib/strftime.c b/lib/nstrftime.c index 99bee4ef978..99bee4ef978 100644 --- a/lib/strftime.c +++ b/lib/nstrftime.c | |||
diff --git a/m4/gnulib-comp.m4 b/m4/gnulib-comp.m4 index 038d78aafea..2f135773930 100644 --- a/m4/gnulib-comp.m4 +++ b/m4/gnulib-comp.m4 | |||
| @@ -113,6 +113,7 @@ AC_DEFUN([gl_EARLY], | |||
| 113 | # Code from module mktime-internal: | 113 | # Code from module mktime-internal: |
| 114 | # Code from module multiarch: | 114 | # Code from module multiarch: |
| 115 | # Code from module nocrash: | 115 | # Code from module nocrash: |
| 116 | # Code from module nstrftime: | ||
| 116 | # Code from module openat-h: | 117 | # Code from module openat-h: |
| 117 | # Code from module pipe2: | 118 | # Code from module pipe2: |
| 118 | # Code from module pselect: | 119 | # Code from module pselect: |
| @@ -139,7 +140,6 @@ AC_DEFUN([gl_EARLY], | |||
| 139 | # Code from module stdio: | 140 | # Code from module stdio: |
| 140 | # Code from module stdlib: | 141 | # Code from module stdlib: |
| 141 | # Code from module stpcpy: | 142 | # Code from module stpcpy: |
| 142 | # Code from module strftime: | ||
| 143 | # Code from module string: | 143 | # Code from module string: |
| 144 | # Code from module strtoimax: | 144 | # Code from module strtoimax: |
| 145 | # Code from module strtoll: | 145 | # Code from module strtoll: |
| @@ -314,6 +314,7 @@ AC_DEFUN([gl_INIT], | |||
| 314 | fi | 314 | fi |
| 315 | gl_TIME_MODULE_INDICATOR([mktime]) | 315 | gl_TIME_MODULE_INDICATOR([mktime]) |
| 316 | gl_MULTIARCH | 316 | gl_MULTIARCH |
| 317 | gl_FUNC_GNU_STRFTIME | ||
| 317 | gl_FUNC_PIPE2 | 318 | gl_FUNC_PIPE2 |
| 318 | gl_UNISTD_MODULE_INDICATOR([pipe2]) | 319 | gl_UNISTD_MODULE_INDICATOR([pipe2]) |
| 319 | gl_FUNC_PSELECT | 320 | gl_FUNC_PSELECT |
| @@ -365,7 +366,6 @@ AC_DEFUN([gl_INIT], | |||
| 365 | gl_PREREQ_STPCPY | 366 | gl_PREREQ_STPCPY |
| 366 | fi | 367 | fi |
| 367 | gl_STRING_MODULE_INDICATOR([stpcpy]) | 368 | gl_STRING_MODULE_INDICATOR([stpcpy]) |
| 368 | gl_FUNC_GNU_STRFTIME | ||
| 369 | gl_HEADER_STRING_H | 369 | gl_HEADER_STRING_H |
| 370 | gl_FUNC_STRTOIMAX | 370 | gl_FUNC_STRTOIMAX |
| 371 | if test $HAVE_DECL_STRTOIMAX = 0 || test $REPLACE_STRTOIMAX = 1; then | 371 | if test $HAVE_DECL_STRTOIMAX = 0 || test $REPLACE_STRTOIMAX = 1; then |
| @@ -893,6 +893,7 @@ AC_DEFUN([gl_FILE_LIST], [ | |||
| 893 | lib/mkostemp.c | 893 | lib/mkostemp.c |
| 894 | lib/mktime-internal.h | 894 | lib/mktime-internal.h |
| 895 | lib/mktime.c | 895 | lib/mktime.c |
| 896 | lib/nstrftime.c | ||
| 896 | lib/openat-priv.h | 897 | lib/openat-priv.h |
| 897 | lib/openat-proc.c | 898 | lib/openat-proc.c |
| 898 | lib/openat.h | 899 | lib/openat.h |
| @@ -924,7 +925,6 @@ AC_DEFUN([gl_FILE_LIST], [ | |||
| 924 | lib/stdio.in.h | 925 | lib/stdio.in.h |
| 925 | lib/stdlib.in.h | 926 | lib/stdlib.in.h |
| 926 | lib/stpcpy.c | 927 | lib/stpcpy.c |
| 927 | lib/strftime.c | ||
| 928 | lib/strftime.h | 928 | lib/strftime.h |
| 929 | lib/string.in.h | 929 | lib/string.in.h |
| 930 | lib/strtoimax.c | 930 | lib/strtoimax.c |
| @@ -1013,6 +1013,7 @@ AC_DEFUN([gl_FILE_LIST], [ | |||
| 1013 | m4/mktime.m4 | 1013 | m4/mktime.m4 |
| 1014 | m4/multiarch.m4 | 1014 | m4/multiarch.m4 |
| 1015 | m4/nocrash.m4 | 1015 | m4/nocrash.m4 |
| 1016 | m4/nstrftime.m4 | ||
| 1016 | m4/off_t.m4 | 1017 | m4/off_t.m4 |
| 1017 | m4/pipe2.m4 | 1018 | m4/pipe2.m4 |
| 1018 | m4/pselect.m4 | 1019 | m4/pselect.m4 |
| @@ -1037,7 +1038,6 @@ AC_DEFUN([gl_FILE_LIST], [ | |||
| 1037 | m4/stdio_h.m4 | 1038 | m4/stdio_h.m4 |
| 1038 | m4/stdlib_h.m4 | 1039 | m4/stdlib_h.m4 |
| 1039 | m4/stpcpy.m4 | 1040 | m4/stpcpy.m4 |
| 1040 | m4/strftime.m4 | ||
| 1041 | m4/string_h.m4 | 1041 | m4/string_h.m4 |
| 1042 | m4/strtoimax.m4 | 1042 | m4/strtoimax.m4 |
| 1043 | m4/strtoll.m4 | 1043 | m4/strtoll.m4 |
diff --git a/m4/strftime.m4 b/m4/nstrftime.m4 index d2dac9e2328..d2dac9e2328 100644 --- a/m4/strftime.m4 +++ b/m4/nstrftime.m4 | |||