diff options
| author | Paul Eggert | 2011-02-24 23:23:41 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-02-24 23:23:41 -0800 |
| commit | 9411886d3818d55e86eb1002ed39b38ce2426c63 (patch) | |
| tree | 98c8957b4c7797e53f78c68c889254b0b34e8bfa /lib | |
| parent | b18947669cd182ec8487b317460f6df5878d0f11 (diff) | |
| download | emacs-9411886d3818d55e86eb1002ed39b38ce2426c63.tar.gz emacs-9411886d3818d55e86eb1002ed39b38ce2426c63.zip | |
Regenerate.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Makefile.in | 8 | ||||
| -rw-r--r-- | lib/getopt_int.h | 2 | ||||
| -rw-r--r-- | lib/gnulib.mk | 4 | ||||
| -rw-r--r-- | lib/stdlib.in.h | 30 |
4 files changed, 43 insertions, 1 deletions
diff --git a/lib/Makefile.in b/lib/Makefile.in index 48e7b1d6507..7135d3ebbf9 100644 --- a/lib/Makefile.in +++ b/lib/Makefile.in | |||
| @@ -179,6 +179,7 @@ GNULIB_LINKAT = @GNULIB_LINKAT@ | |||
| 179 | GNULIB_LSEEK = @GNULIB_LSEEK@ | 179 | GNULIB_LSEEK = @GNULIB_LSEEK@ |
| 180 | GNULIB_LSTAT = @GNULIB_LSTAT@ | 180 | GNULIB_LSTAT = @GNULIB_LSTAT@ |
| 181 | GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ | 181 | GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ |
| 182 | GNULIB_MBTOWC = @GNULIB_MBTOWC@ | ||
| 182 | GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ | 183 | GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ |
| 183 | GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ | 184 | GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ |
| 184 | GNULIB_MKFIFO = @GNULIB_MKFIFO@ | 185 | GNULIB_MKFIFO = @GNULIB_MKFIFO@ |
| @@ -225,6 +226,7 @@ GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ | |||
| 225 | GNULIB_UNSETENV = @GNULIB_UNSETENV@ | 226 | GNULIB_UNSETENV = @GNULIB_UNSETENV@ |
| 226 | GNULIB_USLEEP = @GNULIB_USLEEP@ | 227 | GNULIB_USLEEP = @GNULIB_USLEEP@ |
| 227 | GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ | 228 | GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ |
| 229 | GNULIB_WCTOMB = @GNULIB_WCTOMB@ | ||
| 228 | GNULIB_WRITE = @GNULIB_WRITE@ | 230 | GNULIB_WRITE = @GNULIB_WRITE@ |
| 229 | GNULIB__EXIT = @GNULIB__EXIT@ | 231 | GNULIB__EXIT = @GNULIB__EXIT@ |
| 230 | GNU_OBJC_CFLAGS = @GNU_OBJC_CFLAGS@ | 232 | GNU_OBJC_CFLAGS = @GNU_OBJC_CFLAGS@ |
| @@ -452,6 +454,7 @@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ | |||
| 452 | REPLACE_LSEEK = @REPLACE_LSEEK@ | 454 | REPLACE_LSEEK = @REPLACE_LSEEK@ |
| 453 | REPLACE_LSTAT = @REPLACE_LSTAT@ | 455 | REPLACE_LSTAT = @REPLACE_LSTAT@ |
| 454 | REPLACE_MALLOC = @REPLACE_MALLOC@ | 456 | REPLACE_MALLOC = @REPLACE_MALLOC@ |
| 457 | REPLACE_MBTOWC = @REPLACE_MBTOWC@ | ||
| 455 | REPLACE_MKDIR = @REPLACE_MKDIR@ | 458 | REPLACE_MKDIR = @REPLACE_MKDIR@ |
| 456 | REPLACE_MKFIFO = @REPLACE_MKFIFO@ | 459 | REPLACE_MKFIFO = @REPLACE_MKFIFO@ |
| 457 | REPLACE_MKNOD = @REPLACE_MKNOD@ | 460 | REPLACE_MKNOD = @REPLACE_MKNOD@ |
| @@ -478,6 +481,7 @@ REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ | |||
| 478 | REPLACE_UNSETENV = @REPLACE_UNSETENV@ | 481 | REPLACE_UNSETENV = @REPLACE_UNSETENV@ |
| 479 | REPLACE_USLEEP = @REPLACE_USLEEP@ | 482 | REPLACE_USLEEP = @REPLACE_USLEEP@ |
| 480 | REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ | 483 | REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ |
| 484 | REPLACE_WCTOMB = @REPLACE_WCTOMB@ | ||
| 481 | REPLACE_WRITE = @REPLACE_WRITE@ | 485 | REPLACE_WRITE = @REPLACE_WRITE@ |
| 482 | RSVG_CFLAGS = @RSVG_CFLAGS@ | 486 | RSVG_CFLAGS = @RSVG_CFLAGS@ |
| 483 | RSVG_LIBS = @RSVG_LIBS@ | 487 | RSVG_LIBS = @RSVG_LIBS@ |
| @@ -1001,6 +1005,7 @@ stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) | |||
| 1001 | -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \ | 1005 | -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \ |
| 1002 | -e 's|@''GNULIB_GRANTPT''@|$(GNULIB_GRANTPT)|g' \ | 1006 | -e 's|@''GNULIB_GRANTPT''@|$(GNULIB_GRANTPT)|g' \ |
| 1003 | -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \ | 1007 | -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \ |
| 1008 | -e 's|@''GNULIB_MBTOWC''@|$(GNULIB_MBTOWC)|g' \ | ||
| 1004 | -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \ | 1009 | -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \ |
| 1005 | -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \ | 1010 | -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \ |
| 1006 | -e 's|@''GNULIB_MKOSTEMPS''@|$(GNULIB_MKOSTEMPS)|g' \ | 1011 | -e 's|@''GNULIB_MKOSTEMPS''@|$(GNULIB_MKOSTEMPS)|g' \ |
| @@ -1019,6 +1024,7 @@ stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) | |||
| 1019 | -e 's|@''GNULIB_SYSTEM_POSIX''@|$(GNULIB_SYSTEM_POSIX)|g' \ | 1024 | -e 's|@''GNULIB_SYSTEM_POSIX''@|$(GNULIB_SYSTEM_POSIX)|g' \ |
| 1020 | -e 's|@''GNULIB_UNLOCKPT''@|$(GNULIB_UNLOCKPT)|g' \ | 1025 | -e 's|@''GNULIB_UNLOCKPT''@|$(GNULIB_UNLOCKPT)|g' \ |
| 1021 | -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \ | 1026 | -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \ |
| 1027 | -e 's|@''GNULIB_WCTOMB''@|$(GNULIB_WCTOMB)|g' \ | ||
| 1022 | < $(srcdir)/stdlib.in.h | \ | 1028 | < $(srcdir)/stdlib.in.h | \ |
| 1023 | sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \ | 1029 | sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \ |
| 1024 | -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \ | 1030 | -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \ |
| @@ -1047,6 +1053,7 @@ stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) | |||
| 1047 | -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \ | 1053 | -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \ |
| 1048 | -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \ | 1054 | -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \ |
| 1049 | -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \ | 1055 | -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \ |
| 1056 | -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \ | ||
| 1050 | -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \ | 1057 | -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \ |
| 1051 | -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \ | 1058 | -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \ |
| 1052 | -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \ | 1059 | -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \ |
| @@ -1054,6 +1061,7 @@ stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) | |||
| 1054 | -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \ | 1061 | -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \ |
| 1055 | -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \ | 1062 | -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \ |
| 1056 | -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \ | 1063 | -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \ |
| 1064 | -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \ | ||
| 1057 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ | 1065 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ |
| 1058 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ | 1066 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ |
| 1059 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ | 1067 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ |
diff --git a/lib/getopt_int.h b/lib/getopt_int.h index 7a01a6aa422..9f0c7131a14 100644 --- a/lib/getopt_int.h +++ b/lib/getopt_int.h | |||
| @@ -108,7 +108,7 @@ struct _getopt_data | |||
| 108 | #if defined _LIBC && defined USE_NONOPTION_FLAGS | 108 | #if defined _LIBC && defined USE_NONOPTION_FLAGS |
| 109 | int __nonoption_flags_max_len; | 109 | int __nonoption_flags_max_len; |
| 110 | int __nonoption_flags_len; | 110 | int __nonoption_flags_len; |
| 111 | # endif | 111 | #endif |
| 112 | }; | 112 | }; |
| 113 | 113 | ||
| 114 | /* The initializer is necessary to set OPTIND and OPTERR to their | 114 | /* The initializer is necessary to set OPTIND and OPTERR to their |
diff --git a/lib/gnulib.mk b/lib/gnulib.mk index 32bf5714d17..53cc3815254 100644 --- a/lib/gnulib.mk +++ b/lib/gnulib.mk | |||
| @@ -267,6 +267,7 @@ stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) | |||
| 267 | -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \ | 267 | -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \ |
| 268 | -e 's|@''GNULIB_GRANTPT''@|$(GNULIB_GRANTPT)|g' \ | 268 | -e 's|@''GNULIB_GRANTPT''@|$(GNULIB_GRANTPT)|g' \ |
| 269 | -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \ | 269 | -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \ |
| 270 | -e 's|@''GNULIB_MBTOWC''@|$(GNULIB_MBTOWC)|g' \ | ||
| 270 | -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \ | 271 | -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \ |
| 271 | -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \ | 272 | -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \ |
| 272 | -e 's|@''GNULIB_MKOSTEMPS''@|$(GNULIB_MKOSTEMPS)|g' \ | 273 | -e 's|@''GNULIB_MKOSTEMPS''@|$(GNULIB_MKOSTEMPS)|g' \ |
| @@ -285,6 +286,7 @@ stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) | |||
| 285 | -e 's|@''GNULIB_SYSTEM_POSIX''@|$(GNULIB_SYSTEM_POSIX)|g' \ | 286 | -e 's|@''GNULIB_SYSTEM_POSIX''@|$(GNULIB_SYSTEM_POSIX)|g' \ |
| 286 | -e 's|@''GNULIB_UNLOCKPT''@|$(GNULIB_UNLOCKPT)|g' \ | 287 | -e 's|@''GNULIB_UNLOCKPT''@|$(GNULIB_UNLOCKPT)|g' \ |
| 287 | -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \ | 288 | -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \ |
| 289 | -e 's|@''GNULIB_WCTOMB''@|$(GNULIB_WCTOMB)|g' \ | ||
| 288 | < $(srcdir)/stdlib.in.h | \ | 290 | < $(srcdir)/stdlib.in.h | \ |
| 289 | sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \ | 291 | sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \ |
| 290 | -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \ | 292 | -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \ |
| @@ -313,6 +315,7 @@ stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) | |||
| 313 | -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \ | 315 | -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \ |
| 314 | -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \ | 316 | -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \ |
| 315 | -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \ | 317 | -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \ |
| 318 | -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \ | ||
| 316 | -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \ | 319 | -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \ |
| 317 | -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \ | 320 | -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \ |
| 318 | -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \ | 321 | -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \ |
| @@ -320,6 +323,7 @@ stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) | |||
| 320 | -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \ | 323 | -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \ |
| 321 | -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \ | 324 | -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \ |
| 322 | -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \ | 325 | -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \ |
| 326 | -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \ | ||
| 323 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ | 327 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ |
| 324 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ | 328 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ |
| 325 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ | 329 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ |
diff --git a/lib/stdlib.in.h b/lib/stdlib.in.h index 62d18c62811..2697a4bd1db 100644 --- a/lib/stdlib.in.h +++ b/lib/stdlib.in.h | |||
| @@ -274,6 +274,21 @@ _GL_WARN_ON_USE (malloc, "malloc is not POSIX compliant everywhere - " | |||
| 274 | "use gnulib module malloc-posix for portability"); | 274 | "use gnulib module malloc-posix for portability"); |
| 275 | #endif | 275 | #endif |
| 276 | 276 | ||
| 277 | /* Convert a multibyte character to a wide character. */ | ||
| 278 | #if @GNULIB_MBTOWC@ | ||
| 279 | # if @REPLACE_MBTOWC@ | ||
| 280 | # if !(defined __cplusplus && defined GNULIB_NAMESPACE) | ||
| 281 | # undef mbtowc | ||
| 282 | # define mbtowc rpl_mbtowc | ||
| 283 | # endif | ||
| 284 | _GL_FUNCDECL_RPL (mbtowc, int, (wchar_t *pwc, const char *s, size_t n)); | ||
| 285 | _GL_CXXALIAS_RPL (mbtowc, int, (wchar_t *pwc, const char *s, size_t n)); | ||
| 286 | # else | ||
| 287 | _GL_CXXALIAS_SYS (mbtowc, int, (wchar_t *pwc, const char *s, size_t n)); | ||
| 288 | # endif | ||
| 289 | _GL_CXXALIASWARN (mbtowc); | ||
| 290 | #endif | ||
| 291 | |||
| 277 | #if @GNULIB_MKDTEMP@ | 292 | #if @GNULIB_MKDTEMP@ |
| 278 | /* Create a unique temporary directory from TEMPLATE. | 293 | /* Create a unique temporary directory from TEMPLATE. |
| 279 | The last six characters of TEMPLATE must be "XXXXXX"; | 294 | The last six characters of TEMPLATE must be "XXXXXX"; |
| @@ -723,6 +738,21 @@ _GL_WARN_ON_USE (unsetenv, "unsetenv is unportable - " | |||
| 723 | # endif | 738 | # endif |
| 724 | #endif | 739 | #endif |
| 725 | 740 | ||
| 741 | /* Convert a wide character to a multibyte character. */ | ||
| 742 | #if @GNULIB_WCTOMB@ | ||
| 743 | # if @REPLACE_WCTOMB@ | ||
| 744 | # if !(defined __cplusplus && defined GNULIB_NAMESPACE) | ||
| 745 | # undef wctomb | ||
| 746 | # define wctomb rpl_wctomb | ||
| 747 | # endif | ||
| 748 | _GL_FUNCDECL_RPL (wctomb, int, (char *s, wchar_t wc)); | ||
| 749 | _GL_CXXALIAS_RPL (wctomb, int, (char *s, wchar_t wc)); | ||
| 750 | # else | ||
| 751 | _GL_CXXALIAS_SYS (wctomb, int, (char *s, wchar_t wc)); | ||
| 752 | # endif | ||
| 753 | _GL_CXXALIASWARN (wctomb); | ||
| 754 | #endif | ||
| 755 | |||
| 726 | 756 | ||
| 727 | #endif /* _GL_STDLIB_H */ | 757 | #endif /* _GL_STDLIB_H */ |
| 728 | #endif /* _GL_STDLIB_H */ | 758 | #endif /* _GL_STDLIB_H */ |