mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-19 09:13:04 +00:00
gnulib: update
* src/output.c, src/print-xml.c: Adjust.
This commit is contained in:
15
bootstrap
15
bootstrap
@@ -1,10 +1,10 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Print a version string.
|
# Print a version string.
|
||||||
scriptversion=2020-11-18.17; # UTC
|
scriptversion=2021-01-10.00; # UTC
|
||||||
|
|
||||||
# Bootstrap this package from checked-out sources.
|
# Bootstrap this package from checked-out sources.
|
||||||
|
|
||||||
# Copyright (C) 2003-2020 Free Software Foundation, Inc.
|
# Copyright (C) 2003-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -47,7 +47,7 @@ PERL="${PERL-perl}"
|
|||||||
|
|
||||||
me=$0
|
me=$0
|
||||||
|
|
||||||
default_gnulib_url=git://git.sv.gnu.org/gnulib
|
default_gnulib_url=https://git.savannah.gnu.org/git/gnulib.git
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
@@ -184,7 +184,7 @@ po_download_command_format=\
|
|||||||
https://translationproject.org/latest/%s/"
|
https://translationproject.org/latest/%s/"
|
||||||
|
|
||||||
# Prefer a non-empty tarname (4th argument of AC_INIT if given), else
|
# Prefer a non-empty tarname (4th argument of AC_INIT if given), else
|
||||||
# fall back to the package name (1st argument with munging)
|
# fall back to the package name (1st argument with munging).
|
||||||
extract_package_name='
|
extract_package_name='
|
||||||
/^AC_INIT(\[*/{
|
/^AC_INIT(\[*/{
|
||||||
s///
|
s///
|
||||||
@@ -201,8 +201,11 @@ extract_package_name='
|
|||||||
p
|
p
|
||||||
}
|
}
|
||||||
'
|
'
|
||||||
package=$(sed -n "$extract_package_name" configure.ac) \
|
package=$(${AUTOCONF:-autoconf} --trace AC_INIT:\$4 configure.ac 2>/dev/null)
|
||||||
|| die 'cannot find package name in configure.ac'
|
if test -z "$package"; then
|
||||||
|
package=$(sed -n "$extract_package_name" configure.ac) \
|
||||||
|
|| die 'cannot find package name in configure.ac'
|
||||||
|
fi
|
||||||
gnulib_name=lib$package
|
gnulib_name=lib$package
|
||||||
|
|
||||||
build_aux=build-aux
|
build_aux=build-aux
|
||||||
|
|||||||
2
gnulib
2
gnulib
Submodule gnulib updated: b141afaf9b...028296a911
46
lib/.gitignore
vendored
46
lib/.gitignore
vendored
@@ -5,6 +5,7 @@
|
|||||||
/.deps
|
/.deps
|
||||||
/.dirstamp
|
/.dirstamp
|
||||||
/_Noreturn.h
|
/_Noreturn.h
|
||||||
|
/access.c
|
||||||
/alignof.h
|
/alignof.h
|
||||||
/alloca.h
|
/alloca.h
|
||||||
/alloca.in.h
|
/alloca.in.h
|
||||||
@@ -18,6 +19,7 @@
|
|||||||
/asnprintf.c
|
/asnprintf.c
|
||||||
/asprintf.c
|
/asprintf.c
|
||||||
/assure.h
|
/assure.h
|
||||||
|
/at-func.c
|
||||||
/attribute.h
|
/attribute.h
|
||||||
/basename-lgpl.c
|
/basename-lgpl.c
|
||||||
/basename-lgpl.h
|
/basename-lgpl.h
|
||||||
@@ -40,15 +42,20 @@
|
|||||||
/c-strncasecmp.c
|
/c-strncasecmp.c
|
||||||
/calloc.c
|
/calloc.c
|
||||||
/canonicalize-lgpl.c
|
/canonicalize-lgpl.c
|
||||||
|
/canonicalize.c
|
||||||
|
/canonicalize.h
|
||||||
/careadlinkat.c
|
/careadlinkat.c
|
||||||
/careadlinkat.h
|
/careadlinkat.h
|
||||||
/cdefs.h
|
/cdefs.h
|
||||||
/charset.alias
|
/charset.alias
|
||||||
|
/chdir-long.c
|
||||||
|
/chdir-long.h
|
||||||
/cloexec.c
|
/cloexec.c
|
||||||
/cloexec.h
|
/cloexec.h
|
||||||
/close-stream.c
|
/close-stream.c
|
||||||
/close-stream.h
|
/close-stream.h
|
||||||
/close.c
|
/close.c
|
||||||
|
/closedir.c
|
||||||
/closeout.c
|
/closeout.c
|
||||||
/closeout.h
|
/closeout.h
|
||||||
/concat-filename.c
|
/concat-filename.c
|
||||||
@@ -57,12 +64,17 @@
|
|||||||
/config.in.h
|
/config.in.h
|
||||||
/configmake.h
|
/configmake.h
|
||||||
/diffseq.h
|
/diffseq.h
|
||||||
|
/dirent-private.h
|
||||||
|
/dirent.in.h
|
||||||
|
/dirfd.c
|
||||||
/dirname-lgpl.c
|
/dirname-lgpl.c
|
||||||
/dirname.c
|
/dirname.c
|
||||||
/dirname.h
|
/dirname.h
|
||||||
/dup-safer-flag.c
|
/dup-safer-flag.c
|
||||||
/dup-safer.c
|
/dup-safer.c
|
||||||
|
/dup.c
|
||||||
/dup2.c
|
/dup2.c
|
||||||
|
/eloop-threshold.h
|
||||||
/errno.h
|
/errno.h
|
||||||
/errno.in.h
|
/errno.in.h
|
||||||
/error.c
|
/error.c
|
||||||
@@ -73,6 +85,7 @@
|
|||||||
/exitfail.h
|
/exitfail.h
|
||||||
/fatal-signal.c
|
/fatal-signal.c
|
||||||
/fatal-signal.h
|
/fatal-signal.h
|
||||||
|
/fchdir.c
|
||||||
/fcntl.c
|
/fcntl.c
|
||||||
/fcntl.h
|
/fcntl.h
|
||||||
/fcntl.in.h
|
/fcntl.in.h
|
||||||
@@ -80,10 +93,17 @@
|
|||||||
/fd-hook.h
|
/fd-hook.h
|
||||||
/fd-safer-flag.c
|
/fd-safer-flag.c
|
||||||
/fd-safer.c
|
/fd-safer.c
|
||||||
|
/fdopendir.c
|
||||||
/ffs.c
|
/ffs.c
|
||||||
/ffsl.c
|
/ffsl.c
|
||||||
/ffsl.h
|
/ffsl.h
|
||||||
|
/file-set.c
|
||||||
|
/file-set.h
|
||||||
/filename.h
|
/filename.h
|
||||||
|
/filenamecat-lgpl.c
|
||||||
|
/filenamecat.h
|
||||||
|
/findprog-in.c
|
||||||
|
/findprog.h
|
||||||
/float+.h
|
/float+.h
|
||||||
/float.c
|
/float.c
|
||||||
/float.h
|
/float.h
|
||||||
@@ -94,14 +114,18 @@
|
|||||||
/fpending.h
|
/fpending.h
|
||||||
/fprintf.c
|
/fprintf.c
|
||||||
/fpucw.h
|
/fpucw.h
|
||||||
|
/free.c
|
||||||
/frexp.c
|
/frexp.c
|
||||||
/frexpl.c
|
/frexpl.c
|
||||||
/fseterr.c
|
/fseterr.c
|
||||||
/fseterr.h
|
/fseterr.h
|
||||||
/fstat.c
|
/fstat.c
|
||||||
|
/fstatat.c
|
||||||
/fstrcmp.c
|
/fstrcmp.c
|
||||||
/fstrcmp.h
|
/fstrcmp.h
|
||||||
/fsync.c
|
/fsync.c
|
||||||
|
/getcwd-lgpl.c
|
||||||
|
/getcwd.c
|
||||||
/getdelim.c
|
/getdelim.c
|
||||||
/getdtablesize.c
|
/getdtablesize.c
|
||||||
/gethrxtime.c
|
/gethrxtime.c
|
||||||
@@ -154,6 +178,10 @@
|
|||||||
/gnulib.mk
|
/gnulib.mk
|
||||||
/hard-locale.c
|
/hard-locale.c
|
||||||
/hard-locale.h
|
/hard-locale.h
|
||||||
|
/hash-pjw.c
|
||||||
|
/hash-pjw.h
|
||||||
|
/hash-triple-simple.c
|
||||||
|
/hash-triple.h
|
||||||
/hash.c
|
/hash.c
|
||||||
/hash.h
|
/hash.h
|
||||||
/iconv.c
|
/iconv.c
|
||||||
@@ -173,6 +201,7 @@
|
|||||||
/iconv_open-zos.gperf
|
/iconv_open-zos.gperf
|
||||||
/iconv_open-zos.h
|
/iconv_open-zos.h
|
||||||
/iconv_open.c
|
/iconv_open.c
|
||||||
|
/idx.h
|
||||||
/integer_length.c
|
/integer_length.c
|
||||||
/integer_length.h
|
/integer_length.h
|
||||||
/integer_length_l.c
|
/integer_length_l.c
|
||||||
@@ -221,6 +250,8 @@
|
|||||||
/mbtowc-lock.h
|
/mbtowc-lock.h
|
||||||
/memchr.c
|
/memchr.c
|
||||||
/memchr.valgrind
|
/memchr.valgrind
|
||||||
|
/mempcpy.c
|
||||||
|
/memrchr.c
|
||||||
/minmax.h
|
/minmax.h
|
||||||
/msvc-inval.c
|
/msvc-inval.c
|
||||||
/msvc-inval.h
|
/msvc-inval.h
|
||||||
@@ -230,11 +261,18 @@
|
|||||||
/obstack.h
|
/obstack.h
|
||||||
/obstack_printf.c
|
/obstack_printf.c
|
||||||
/open.c
|
/open.c
|
||||||
|
/openat-die.c
|
||||||
|
/openat-priv.h
|
||||||
|
/openat-proc.c
|
||||||
|
/openat.c
|
||||||
|
/openat.h
|
||||||
|
/opendir.c
|
||||||
/os2-spawn.c
|
/os2-spawn.c
|
||||||
/os2-spawn.h
|
/os2-spawn.h
|
||||||
/pathmax.h
|
/pathmax.h
|
||||||
/perror.c
|
/perror.c
|
||||||
/pipe-safer.c
|
/pipe-safer.c
|
||||||
|
/pipe.c
|
||||||
/pipe2-safer.c
|
/pipe2-safer.c
|
||||||
/pipe2.c
|
/pipe2.c
|
||||||
/printf-args.c
|
/printf-args.c
|
||||||
@@ -255,6 +293,7 @@
|
|||||||
/raise.c
|
/raise.c
|
||||||
/rawmemchr.c
|
/rawmemchr.c
|
||||||
/rawmemchr.valgrind
|
/rawmemchr.valgrind
|
||||||
|
/readdir.c
|
||||||
/readline.c
|
/readline.c
|
||||||
/readline.h
|
/readline.h
|
||||||
/readlink.c
|
/readlink.c
|
||||||
@@ -265,10 +304,14 @@
|
|||||||
/relocatable.h
|
/relocatable.h
|
||||||
/relocwrapper.c
|
/relocwrapper.c
|
||||||
/rename.c
|
/rename.c
|
||||||
|
/rewinddir.c
|
||||||
/rmdir.c
|
/rmdir.c
|
||||||
/same-inode.h
|
/same-inode.h
|
||||||
|
/save-cwd.c
|
||||||
|
/save-cwd.h
|
||||||
/sched.h
|
/sched.h
|
||||||
/sched.in.h
|
/sched.in.h
|
||||||
|
/scratch_buffer.h
|
||||||
/setenv.c
|
/setenv.c
|
||||||
/setlocale-lock.c
|
/setlocale-lock.c
|
||||||
/setlocale_null.c
|
/setlocale_null.c
|
||||||
@@ -286,8 +329,10 @@
|
|||||||
/snprintf.c
|
/snprintf.c
|
||||||
/spawn-pipe.c
|
/spawn-pipe.c
|
||||||
/spawn-pipe.h
|
/spawn-pipe.h
|
||||||
|
/spawn.c
|
||||||
/spawn.h
|
/spawn.h
|
||||||
/spawn.in.h
|
/spawn.in.h
|
||||||
|
/spawn_faction_addchdir.c
|
||||||
/spawn_faction_addclose.c
|
/spawn_faction_addclose.c
|
||||||
/spawn_faction_adddup2.c
|
/spawn_faction_adddup2.c
|
||||||
/spawn_faction_addopen.c
|
/spawn_faction_addopen.c
|
||||||
@@ -297,6 +342,7 @@
|
|||||||
/spawnattr_destroy.c
|
/spawnattr_destroy.c
|
||||||
/spawnattr_init.c
|
/spawnattr_init.c
|
||||||
/spawnattr_setflags.c
|
/spawnattr_setflags.c
|
||||||
|
/spawnattr_setpgroup.c
|
||||||
/spawnattr_setsigmask.c
|
/spawnattr_setsigmask.c
|
||||||
/spawni.c
|
/spawni.c
|
||||||
/spawnp.c
|
/spawnp.c
|
||||||
|
|||||||
27
m4/.gitignore
vendored
27
m4/.gitignore
vendored
@@ -2,19 +2,27 @@
|
|||||||
/00gnulib.m4
|
/00gnulib.m4
|
||||||
/__inline.m4
|
/__inline.m4
|
||||||
/absolute-header.m4
|
/absolute-header.m4
|
||||||
|
/access.m4
|
||||||
/alloca.m4
|
/alloca.m4
|
||||||
/asm-underscore.m4
|
/asm-underscore.m4
|
||||||
/assert.m4
|
/assert.m4
|
||||||
/builtin-expect.m4
|
/builtin-expect.m4
|
||||||
/calloc.m4
|
/calloc.m4
|
||||||
/canonicalize.m4
|
/canonicalize.m4
|
||||||
|
/chdir-long.m4
|
||||||
/clock_time.m4
|
/clock_time.m4
|
||||||
/close.m4
|
/close.m4
|
||||||
|
/closedir.m4
|
||||||
/codeset.m4
|
/codeset.m4
|
||||||
/config-h.m4
|
/config-h.m4
|
||||||
/configmake.m4
|
/configmake.m4
|
||||||
|
/d-ino.m4
|
||||||
|
/dirent_h.m4
|
||||||
|
/dirfd.m4
|
||||||
/double-slash-root.m4
|
/double-slash-root.m4
|
||||||
|
/dup.m4
|
||||||
/dup2.m4
|
/dup2.m4
|
||||||
|
/eaccess.m4
|
||||||
/eealloc.m4
|
/eealloc.m4
|
||||||
/environ.m4
|
/environ.m4
|
||||||
/errno_h.m4
|
/errno_h.m4
|
||||||
@@ -27,26 +35,36 @@
|
|||||||
/extern-inline.m4
|
/extern-inline.m4
|
||||||
/extern-inline.m4~
|
/extern-inline.m4~
|
||||||
/fatal-signal.m4
|
/fatal-signal.m4
|
||||||
|
/fchdir.m4
|
||||||
/fcntl-o.m4
|
/fcntl-o.m4
|
||||||
/fcntl.m4
|
/fcntl.m4
|
||||||
/fcntl_h.m4
|
/fcntl_h.m4
|
||||||
|
/fdopendir.m4
|
||||||
/ffs.m4
|
/ffs.m4
|
||||||
/ffsl.m4
|
/ffsl.m4
|
||||||
|
/filenamecat.m4
|
||||||
|
/findprog-in.m4
|
||||||
/float_h.m4
|
/float_h.m4
|
||||||
/fopen.m4
|
/fopen.m4
|
||||||
/fpending.m4
|
/fpending.m4
|
||||||
/fpieee.m4
|
/fpieee.m4
|
||||||
/fprintf-posix.m4
|
/fprintf-posix.m4
|
||||||
|
/free.m4
|
||||||
/frexp.m4
|
/frexp.m4
|
||||||
/frexpl.m4
|
/frexpl.m4
|
||||||
/fseterr.m4
|
/fseterr.m4
|
||||||
/fstat.m4
|
/fstat.m4
|
||||||
|
/fstatat.m4
|
||||||
/fsync.m4
|
/fsync.m4
|
||||||
|
/getcwd-abort-bug.m4
|
||||||
|
/getcwd-path-max.m4
|
||||||
|
/getcwd.m4
|
||||||
/getdelim.m4
|
/getdelim.m4
|
||||||
/getdtablesize.m4
|
/getdtablesize.m4
|
||||||
/gethrxtime.m4
|
/gethrxtime.m4
|
||||||
/getline.m4
|
/getline.m4
|
||||||
/getopt.m4
|
/getopt.m4
|
||||||
|
/getpagesize.m4
|
||||||
/getprogname.m4
|
/getprogname.m4
|
||||||
/getrusage.m4
|
/getrusage.m4
|
||||||
/gettext.m4
|
/gettext.m4
|
||||||
@@ -113,6 +131,8 @@
|
|||||||
/mbstate_t.m4
|
/mbstate_t.m4
|
||||||
/mbswidth.m4
|
/mbswidth.m4
|
||||||
/memchr.m4
|
/memchr.m4
|
||||||
|
/mempcpy.m4
|
||||||
|
/memrchr.m4
|
||||||
/minmax.m4
|
/minmax.m4
|
||||||
/mmap-anon.m4
|
/mmap-anon.m4
|
||||||
/mode_t.m4
|
/mode_t.m4
|
||||||
@@ -129,12 +149,16 @@
|
|||||||
/open-cloexec.m4
|
/open-cloexec.m4
|
||||||
/open-slash.m4
|
/open-slash.m4
|
||||||
/open.m4
|
/open.m4
|
||||||
|
/openat.m4
|
||||||
|
/opendir.m4
|
||||||
/pathmax.m4
|
/pathmax.m4
|
||||||
/perror.m4
|
/perror.m4
|
||||||
/pid_t.m4
|
/pid_t.m4
|
||||||
|
/pipe.m4
|
||||||
/pipe2.m4
|
/pipe2.m4
|
||||||
/po.m4
|
/po.m4
|
||||||
/posix_spawn.m4
|
/posix_spawn.m4
|
||||||
|
/posix_spawn_faction_addchdir.m4
|
||||||
/printf-frexp.m4
|
/printf-frexp.m4
|
||||||
/printf-frexpl.m4
|
/printf-frexpl.m4
|
||||||
/printf-posix-rpl.m4
|
/printf-posix-rpl.m4
|
||||||
@@ -146,13 +170,16 @@
|
|||||||
/quotearg.m4
|
/quotearg.m4
|
||||||
/raise.m4
|
/raise.m4
|
||||||
/rawmemchr.m4
|
/rawmemchr.m4
|
||||||
|
/readdir.m4
|
||||||
/readline.m4
|
/readline.m4
|
||||||
/readlink.m4
|
/readlink.m4
|
||||||
/realloc.m4
|
/realloc.m4
|
||||||
/relocatable-lib.m4
|
/relocatable-lib.m4
|
||||||
/relocatable.m4
|
/relocatable.m4
|
||||||
/rename.m4
|
/rename.m4
|
||||||
|
/rewinddir.m4
|
||||||
/rmdir.m4
|
/rmdir.m4
|
||||||
|
/save-cwd.m4
|
||||||
/sched_h.m4
|
/sched_h.m4
|
||||||
/setenv.m4
|
/setenv.m4
|
||||||
/setlocale_null.m4
|
/setlocale_null.m4
|
||||||
|
|||||||
@@ -782,9 +782,12 @@ output_skeleton (void)
|
|||||||
fputc ('\n', stderr);
|
fputc ('\n', stderr);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The ugly cast is because gnulib gets the const-ness wrong. */
|
pid = create_pipe_bidi ("m4", m4, argv,
|
||||||
pid = create_pipe_bidi ("m4", m4, (char **)(void*)argv, false, true,
|
/* directory */ NULL,
|
||||||
true, filter_fd);
|
/* null_stderr */ false,
|
||||||
|
/* slave_process */ true,
|
||||||
|
/* exit_on_error */ true,
|
||||||
|
filter_fd);
|
||||||
}
|
}
|
||||||
|
|
||||||
free (skeldir);
|
free (skeldir);
|
||||||
|
|||||||
@@ -564,11 +564,12 @@ print_html (void)
|
|||||||
|
|
||||||
int status
|
int status
|
||||||
= execute (argv[0],
|
= execute (argv[0],
|
||||||
argv[0], (char **)(void*)(argv),
|
argv[0], argv,
|
||||||
|
/* directory */ NULL,
|
||||||
/* ignore_sigpipe */ false,
|
/* ignore_sigpipe */ false,
|
||||||
/* null_stdin, null_stdout, null_stderr */ true, true, true,
|
/* null_stdin, null_stdout, null_stderr */ true, true, true,
|
||||||
/* slave_process */ true, /* exit_on_error */ false,
|
/* slave_process */ true, /* exit_on_error */ false,
|
||||||
NULL);
|
/* termsigp */ NULL);
|
||||||
if (status)
|
if (status)
|
||||||
complain (NULL, complaint, _("%s failed with status %d"), argv[0], status);
|
complain (NULL, complaint, _("%s failed with status %d"), argv[0], status);
|
||||||
free (xml2html);
|
free (xml2html);
|
||||||
|
|||||||
Reference in New Issue
Block a user