* gettext-runtime/intl/configure.ac: Test also REPLACE_TWALK.
* gettext-tools/src/po-xerror.c: Don't include "getprogname.h".
* gnulib-local/lib/xerror.c: Likewise.
* gnulib-local/lib/error-progname.c: Include <stdlib.h> instead of
getprogname.h.
* gnulib-local/lib/error.in.h.diff: Renamed from gnulib-local/lib/error.h.diff.
* gnulib-local/Makefile.am (EXTRA_DIST): Update.
* gnulib-local/modules/gettext-tools-misc (Makefile.am): Update comment.
/gettext-tools/libgettextpo/arg-nonnull.h
/gettext-tools/libgettextpo/asnprintf.c
/gettext-tools/libgettextpo/asprintf.c
+/gettext-tools/libgettextpo/assert.in.h
/gettext-tools/libgettextpo/attribute.h
/gettext-tools/libgettextpo/basename-lgpl.c
/gettext-tools/libgettextpo/basename-lgpl.h
/gettext-tools/libgettextpo/error-progname.c
/gettext-tools/libgettextpo/error-progname.h
/gettext-tools/libgettextpo/error.c
-/gettext-tools/libgettextpo/error.h
+/gettext-tools/libgettextpo/error.in.h
/gettext-tools/libgettextpo/exitfail.c
/gettext-tools/libgettextpo/exitfail.h
/gettext-tools/libgettextpo/fcntl.c
/gettext-tools/libgettextpo/iconv_open.c
/gettext-tools/libgettextpo/iconveh.h
/gettext-tools/libgettextpo/idx.h
+/gettext-tools/libgettextpo/intprops-internal.h
/gettext-tools/libgettextpo/intprops.h
/gettext-tools/libgettextpo/inttypes.in.h
/gettext-tools/libgettextpo/itold.c
/gettext-tools/libgettextpo/stdalign.in.h
/gettext-tools/libgettextpo/stdarg.in.h
/gettext-tools/libgettextpo/stdbool.in.h
+/gettext-tools/libgettextpo/stdckdint.in.h
/gettext-tools/libgettextpo/stddef.in.h
/gettext-tools/libgettextpo/stdint.in.h
/gettext-tools/libgettextpo/stdio-read.c
/gettext-tools/libgrep/c++defs.h
/gettext-tools/libgrep/cdefs.h
/gettext-tools/libgrep/dynarray.h
+/gettext-tools/libgrep/intprops-internal.h
/gettext-tools/libgrep/intprops.h
/gettext-tools/libgrep/inttypes.in.h
/gettext-tools/libgrep/langinfo.in.h
/gettext-tools/doc/gettext.vrs
/gettext-tools/libgettextpo/config.h
/gettext-tools/libgettextpo/alloca.h
+/gettext-tools/libgettextpo/assert.h
/gettext-tools/libgettextpo/errno.h
+/gettext-tools/libgettextpo/error.h
/gettext-tools/libgettextpo/fcntl.h
/gettext-tools/libgettextpo/float.h
/gettext-tools/libgettextpo/iconv.h
/gettext-tools/libgettextpo/signal.h
/gettext-tools/libgettextpo/stdarg.h
/gettext-tools/libgettextpo/stdbool.h
+/gettext-tools/libgettextpo/stdckdint.h
/gettext-tools/libgettextpo/stddef.h
/gettext-tools/libgettextpo/stdint.h
/gettext-tools/libgettextpo/stdio.h
AC_DEFINE([rpl_memchr], [_libintl_memchr], [Hidden symbol.])
fi
dnl Symbols defined by gnulib module 'tsearch'.
-if test $HAVE_TSEARCH = 0 || test $HAVE_TWALK = 0 || test $REPLACE_TSEARCH = 1; then
+if test $HAVE_TSEARCH = 0 || test $HAVE_TWALK = 0 || test $REPLACE_TSEARCH = 1 || test $REPLACE_TWALK = 1; then
AC_DEFINE([tsearch], [_libintl_tsearch], [Hidden symbol.])
AC_DEFINE([rpl_tsearch], [_libintl_tsearch], [Hidden symbol.])
AC_DEFINE([tfind], [_libintl_tfind], [Hidden symbol.])
/* Error handling during reading and writing of PO files.
- Copyright (C) 2005-2007, 2013, 2019 Free Software Foundation, Inc.
+ Copyright (C) 2005-2007, 2013, 2019, 2023 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2005.
This program is free software: you can redistribute it and/or modify
#include "xvasprintf.h"
#include "po-error.h"
#if IN_LIBGETTEXTPO
-# include "getprogname.h"
# define program_name getprogname ()
#else
# include "progname.h"
## Makefile for the gnulib-local directory of GNU gettext
-## Copyright (C) 2006-2008, 2010-2012, 2014-2021 Free Software Foundation, Inc.
+## Copyright (C) 2006-2008, 2010-2012, 2014-2023 Free Software Foundation, Inc.
##
## 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
lib/backupfile.h \
lib/closeout.c \
lib/closeout.h \
-lib/error.h.diff \
+lib/error.in.h.diff \
lib/error-progname.c \
lib/error-progname.h \
lib/exitfail.h.diff \
/* Use of program name in error-reporting functions.
- Copyright (C) 2001-2003, 2006, 2019 Free Software Foundation, Inc.
+ Copyright (C) 2001-2003, 2006, 2019, 2023 Free Software Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software: you can redistribute it and/or modify
#include "error-progname.h"
#include <stdio.h>
+#include <stdlib.h>
#if IN_LIBGETTEXTPO
-# include "getprogname.h"
# define program_name getprogname ()
#else
# include "progname.h"
-*** gnulib/lib/error.h 2012-12-24 20:10:43.000000000 +0900
---- srclib/error.h 2012-12-24 20:08:16.000000000 +0900
+*** error.in.h.bak 2023-02-04 18:32:38.885731972 +0100
+--- error.in.h 2023-02-04 18:34:04.056640179 +0100
***************
-*** 31,36 ****
---- 31,45 ----
- # define _GL_ATTRIBUTE_FORMAT(spec) /* empty */
+*** 30,35 ****
+--- 30,44 ----
+ # define _GL_ATTRIBUTE_SPEC_PRINTF_ERROR _GL_ATTRIBUTE_SPEC_PRINTF_SYSTEM
#endif
+ #if GNULIB_REPLACE_ERROR
extern "C" {
#endif
***************
-*** 49,62 ****
+*** 90,103 ****
/* If NULL, error will flush stdout, then print on stderr the program
name, a colon and a space. Otherwise, error will call this
function without parameters instead. */
variable controls whether this mode is selected or not. */
! extern int error_one_per_line;
- #ifdef __cplusplus
+ #ifdef __cplusplus
}
---- 58,71 ----
+--- 99,112 ----
/* If NULL, error will flush stdout, then print on stderr the program
name, a colon and a space. Otherwise, error will call this
function without parameters instead. */
variable controls whether this mode is selected or not. */
! extern DLL_VARIABLE int error_one_per_line;
- #ifdef __cplusplus
+ #ifdef __cplusplus
}
/* Multiline error-reporting functions.
- Copyright (C) 2001-2003, 2006, 2019 Free Software Foundation, Inc.
+ Copyright (C) 2001-2003, 2006, 2019, 2023 Free Software Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software: you can redistribute it and/or modify
#include "error-progname.h"
#include "mbswidth.h"
#if IN_LIBGETTEXTPO
-# include "getprogname.h"
# define program_name getprogname ()
#else
# include "progname.h"
# was given.
# Need @LTLIBINTL@ because many source files use gettext().
# Need @LTLIBICONV@ because linebreak.c and striconv.c use iconv().
-# Need @LIB_ACL@ because copy-file.c uses acl.h.
+# Need @LIB_ACL@ @QCOPY_ACL_LIB@ because copy-file.c uses acl.h and qcopy_acl.
# As of 2010-10-04, these are all added by gnulib-tool automatically.
-#lib_LDFLAGS += $(LTLIBUNISTRING) @LTLIBINTL@ @LTLIBICONV@ @LIB_ACL@
+#lib_LDFLAGS += $(LTLIBUNISTRING) @LTLIBINTL@ @LTLIBICONV@ @LIB_ACL@ @QCOPY_ACL_LIB@
lib_LDFLAGS += -release @VERSION@
/lib/arg-nonnull.h
/lib/asnprintf.c
/lib/asprintf.c
+/lib/assert.in.h
/lib/attribute.h
/lib/basename-lgpl.c
/lib/basename-lgpl.h
/lib/dup2.c
/lib/errno.in.h
/lib/error.c
-/lib/error.h
+/lib/error.in.h
/lib/exitfail.c
/lib/exitfail.h
/lib/fatal-signal.c
/lib/iconv-ostream.oo.c
/lib/iconv-ostream.oo.h
/lib/idx.h
+/lib/intprops-internal.h
/lib/intprops.h
/lib/inttypes.in.h
/lib/isatty.c
/lib/stdalign.in.h
/lib/stdarg.in.h
/lib/stdbool.in.h
+/lib/stdckdint.in.h
/lib/stddef.in.h
/lib/stdint.in.h
/lib/stdio-read.c
/doc/vti.tmp*
/lib/alloca.h
/lib/alloca.h-t
+/lib/assert.h
+/lib/assert.h-t
/lib/config.h
/lib/config.h-t
/lib/errno.h
/lib/errno.h-t
+/lib/error.h
+/lib/error.h-t
/lib/fcntl.h
/lib/fcntl.h-t
/lib/float.h
/lib/stdarg.h-t
/lib/stdbool.h
/lib/stdbool.h-t
+/lib/stdckdint.h
+/lib/stdckdint.h-t
/lib/stddef.h
/lib/stddef.h-t
/lib/stdint.h