diff options
| author | Paul Eggert | 2020-01-13 16:25:28 -0800 |
|---|---|---|
| committer | Paul Eggert | 2020-01-13 16:27:02 -0800 |
| commit | 4fc0bc96787252b1b3e14a7f747ef556273b5979 (patch) | |
| tree | 4df0bfb717a271480089be4c3ccc7d1cd35e8b47 /lib | |
| parent | 0abda558bc547991cddd9667be722eaeb428dca8 (diff) | |
| download | emacs-4fc0bc96787252b1b3e14a7f747ef556273b5979.tar.gz emacs-4fc0bc96787252b1b3e14a7f747ef556273b5979.zip | |
Update from gnulib
This incorporates:
2020-01-10 fix major regression from 2020-01-04
2020-01-05 tests: avoid GCC over-optimization
2020-01-04 fix AC_CHECK_DECL so it deactivates clang's built-ins
2020-01-03 getopt-posix: fix compilation failure in testdirs
2020-01-03 doc: mention the 64-bit inode number problem
2020-01-02 wchar: make the HP-UX workaround work on HP-UX 11.31
* build-aux/config.guess, build-aux/config.sub, lib/inttypes.in.h:
* lib/stdlib.in.h, lib/unistd.in.h, m4/00gnulib.m4, m4/largefile.m4:
* m4/unistd_h.m4: Copy from Gnulib
* lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/gnulib.mk.in | 2 | ||||
| -rw-r--r-- | lib/inttypes.in.h | 2 | ||||
| -rw-r--r-- | lib/stdlib.in.h | 7 | ||||
| -rw-r--r-- | lib/unistd.in.h | 2 |
4 files changed, 12 insertions, 1 deletions
diff --git a/lib/gnulib.mk.in b/lib/gnulib.mk.in index 951e5b1a652..ed80f88a874 100644 --- a/lib/gnulib.mk.in +++ b/lib/gnulib.mk.in | |||
| @@ -316,6 +316,7 @@ GNULIB_GETLINE = @GNULIB_GETLINE@ | |||
| 316 | GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ | 316 | GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ |
| 317 | GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ | 317 | GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ |
| 318 | GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ | 318 | GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ |
| 319 | GNULIB_GETOPT_POSIX = @GNULIB_GETOPT_POSIX@ | ||
| 319 | GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ | 320 | GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ |
| 320 | GNULIB_GETPASS = @GNULIB_GETPASS@ | 321 | GNULIB_GETPASS = @GNULIB_GETPASS@ |
| 321 | GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ | 322 | GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ |
| @@ -3210,6 +3211,7 @@ unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H | |||
| 3210 | -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \ | 3211 | -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \ |
| 3211 | -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \ | 3212 | -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \ |
| 3212 | -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \ | 3213 | -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \ |
| 3214 | -e 's/@''GNULIB_GETOPT_POSIX''@/$(GNULIB_GETOPT_POSIX)/g' \ | ||
| 3213 | -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \ | 3215 | -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \ |
| 3214 | -e 's/@''GNULIB_GETPASS''@/$(GNULIB_GETPASS)/g' \ | 3216 | -e 's/@''GNULIB_GETPASS''@/$(GNULIB_GETPASS)/g' \ |
| 3215 | -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \ | 3217 | -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \ |
diff --git a/lib/inttypes.in.h b/lib/inttypes.in.h index 5184e266f27..d6efc7eeeef 100644 --- a/lib/inttypes.in.h +++ b/lib/inttypes.in.h | |||
| @@ -38,6 +38,8 @@ | |||
| 38 | # endif | 38 | # endif |
| 39 | 39 | ||
| 40 | # @INCLUDE_NEXT@ @NEXT_INTTYPES_H@ | 40 | # @INCLUDE_NEXT@ @NEXT_INTTYPES_H@ |
| 41 | |||
| 42 | # define _GL_FINISHED_INCLUDING_SYSTEM_INTTYPES_H | ||
| 41 | # endif | 43 | # endif |
| 42 | #endif | 44 | #endif |
| 43 | 45 | ||
diff --git a/lib/stdlib.in.h b/lib/stdlib.in.h index e088959b285..49bbf6fccfb 100644 --- a/lib/stdlib.in.h +++ b/lib/stdlib.in.h | |||
| @@ -201,6 +201,10 @@ _GL_FUNCDECL_SYS (canonicalize_file_name, char *, (const char *name) | |||
| 201 | # endif | 201 | # endif |
| 202 | _GL_CXXALIAS_SYS (canonicalize_file_name, char *, (const char *name)); | 202 | _GL_CXXALIAS_SYS (canonicalize_file_name, char *, (const char *name)); |
| 203 | # endif | 203 | # endif |
| 204 | # ifndef GNULIB_defined_canonicalize_file_name | ||
| 205 | # define GNULIB_defined_canonicalize_file_name \ | ||
| 206 | (!@HAVE_CANONICALIZE_FILE_NAME@ || @REPLACE_CANONICALIZE_FILE_NAME@) | ||
| 207 | # endif | ||
| 204 | _GL_CXXALIASWARN (canonicalize_file_name); | 208 | _GL_CXXALIASWARN (canonicalize_file_name); |
| 205 | #elif defined GNULIB_POSIXCHECK | 209 | #elif defined GNULIB_POSIXCHECK |
| 206 | # undef canonicalize_file_name | 210 | # undef canonicalize_file_name |
| @@ -516,6 +520,9 @@ _GL_FUNCDECL_SYS (ptsname_r, int, (int fd, char *buf, size_t len)); | |||
| 516 | # endif | 520 | # endif |
| 517 | _GL_CXXALIAS_SYS (ptsname_r, int, (int fd, char *buf, size_t len)); | 521 | _GL_CXXALIAS_SYS (ptsname_r, int, (int fd, char *buf, size_t len)); |
| 518 | # endif | 522 | # endif |
| 523 | # ifndef GNULIB_defined_ptsname_r | ||
| 524 | # define GNULIB_defined_ptsname_r (!@HAVE_PTSNAME_R@ || @REPLACE_PTSNAME_R@) | ||
| 525 | # endif | ||
| 519 | _GL_CXXALIASWARN (ptsname_r); | 526 | _GL_CXXALIASWARN (ptsname_r); |
| 520 | #elif defined GNULIB_POSIXCHECK | 527 | #elif defined GNULIB_POSIXCHECK |
| 521 | # undef ptsname_r | 528 | # undef ptsname_r |
diff --git a/lib/unistd.in.h b/lib/unistd.in.h index 7909416f366..d6176adc00d 100644 --- a/lib/unistd.in.h +++ b/lib/unistd.in.h | |||
| @@ -141,7 +141,7 @@ | |||
| 141 | 141 | ||
| 142 | 142 | ||
| 143 | /* Get getopt(), optarg, optind, opterr, optopt. */ | 143 | /* Get getopt(), optarg, optind, opterr, optopt. */ |
| 144 | #if @GNULIB_UNISTD_H_GETOPT@ && !defined _GL_SYSTEM_GETOPT | 144 | #if @GNULIB_GETOPT_POSIX@ && @GNULIB_UNISTD_H_GETOPT@ && !defined _GL_SYSTEM_GETOPT |
| 145 | # include <getopt-cdefs.h> | 145 | # include <getopt-cdefs.h> |
| 146 | # include <getopt-pfx-core.h> | 146 | # include <getopt-pfx-core.h> |
| 147 | #endif | 147 | #endif |