diff options
| author | Paul Eggert | 2020-09-05 17:48:45 -0700 |
|---|---|---|
| committer | Paul Eggert | 2020-09-05 17:51:25 -0700 |
| commit | 2bba9cd409ce4b53639328e17da81db8dbda72c7 (patch) | |
| tree | 410719d8bc3e23ea9140f71d81b8b4b7024ea339 /lib/string.in.h | |
| parent | 2c1d8397788c1385debef514c59a6461b2e5408e (diff) | |
| download | emacs-2bba9cd409ce4b53639328e17da81db8dbda72c7.tar.gz emacs-2bba9cd409ce4b53639328e17da81db8dbda72c7.zip | |
Update from Gnulib
This incorporates:
2020-09-05 verify: avoid __builtin_assume
2020-08-30 strerrorname_np: New module
2020-08-26 include_next, stdint, time_rz: Change configure message
* lib/gnulib.mk.in: Regenerate.
* lib/string.in.h, lib/verify.h, m4/include_next.m4, m4/stdint.m4:
* m4/string_h.m4, m4/time_rz.m4: Copy from Gnulib.
Diffstat (limited to 'lib/string.in.h')
| -rw-r--r-- | lib/string.in.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/string.in.h b/lib/string.in.h index 776133c5eba..9724addef43 100644 --- a/lib/string.in.h +++ b/lib/string.in.h | |||
| @@ -1045,6 +1045,30 @@ _GL_WARN_ON_USE (strerror_r, "strerror_r is unportable - " | |||
| 1045 | # endif | 1045 | # endif |
| 1046 | #endif | 1046 | #endif |
| 1047 | 1047 | ||
| 1048 | /* Return the name of the system error code ERRNUM. */ | ||
| 1049 | #if @GNULIB_STRERRORNAME_NP@ | ||
| 1050 | # if @REPLACE_STRERRORNAME_NP@ | ||
| 1051 | # if !(defined __cplusplus && defined GNULIB_NAMESPACE) | ||
| 1052 | # undef strerrorname_np | ||
| 1053 | # define strerrorname_np rpl_strerrorname_np | ||
| 1054 | # endif | ||
| 1055 | _GL_FUNCDECL_RPL (strerrorname_np, const char *, (int errnum)); | ||
| 1056 | _GL_CXXALIAS_RPL (strerrorname_np, const char *, (int errnum)); | ||
| 1057 | # else | ||
| 1058 | # if !@HAVE_STRERRORNAME_NP@ | ||
| 1059 | _GL_FUNCDECL_SYS (strerrorname_np, const char *, (int errnum)); | ||
| 1060 | # endif | ||
| 1061 | _GL_CXXALIAS_SYS (strerrorname_np, const char *, (int errnum)); | ||
| 1062 | # endif | ||
| 1063 | _GL_CXXALIASWARN (strerrorname_np); | ||
| 1064 | #elif defined GNULIB_POSIXCHECK | ||
| 1065 | # undef strerrorname_np | ||
| 1066 | # if HAVE_RAW_DECL_STRERRORNAME_NP | ||
| 1067 | _GL_WARN_ON_USE (strerrorname_np, "strerrorname_np is unportable - " | ||
| 1068 | "use gnulib module strerrorname_np for portability"); | ||
| 1069 | # endif | ||
| 1070 | #endif | ||
| 1071 | |||
| 1048 | /* Return an abbreviation string for the signal number SIG. */ | 1072 | /* Return an abbreviation string for the signal number SIG. */ |
| 1049 | #if @GNULIB_SIGABBREV_NP@ | 1073 | #if @GNULIB_SIGABBREV_NP@ |
| 1050 | # if ! @HAVE_SIGABBREV_NP@ | 1074 | # if ! @HAVE_SIGABBREV_NP@ |