texlive[59913] Build/source/texk/chktex: chktex/regex: sync with
commits+hironobu at tug.org
commits+hironobu at tug.org
Tue Jul 13 12:52:31 CEST 2021
Revision: 59913
http://tug.org/svn/texlive?view=revision&revision=59913
Author: hironobu
Date: 2021-07-13 12:52:31 +0200 (Tue, 13 Jul 2021)
Log Message:
-----------
chktex/regex: sync with pdftexdir/regex
Modified Paths:
--------------
trunk/Build/source/texk/chktex/ChangeLog
trunk/Build/source/texk/chktex/regex/regex_internal.h
Modified: trunk/Build/source/texk/chktex/ChangeLog
===================================================================
--- trunk/Build/source/texk/chktex/ChangeLog 2021-07-12 23:49:12 UTC (rev 59912)
+++ trunk/Build/source/texk/chktex/ChangeLog 2021-07-13 10:52:31 UTC (rev 59913)
@@ -1,3 +1,7 @@
+2021-07-13 Hironobu Yamashita <h.y.acetaminophen at gmail.com>
+
+ * regex/regex_internal.h: sync with pdftexdir/regex 2017-02-16.
+
2017-03-27 Karl Berry <karl at freefriends.org>
* Makefile.am (AM_TESTS_ENVIRONMENT): use instead of TESTS_ENVIRONMENT.
Modified: trunk/Build/source/texk/chktex/regex/regex_internal.h
===================================================================
--- trunk/Build/source/texk/chktex/regex/regex_internal.h 2021-07-12 23:49:12 UTC (rev 59912)
+++ trunk/Build/source/texk/chktex/regex/regex_internal.h 2021-07-13 10:52:31 UTC (rev 59913)
@@ -1,4 +1,5 @@
/* Extended regular expression matching and search library.
+ Copyright (C) 2017 Karl Berry <tex-live at tug.org>
Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Isamu Hasegawa <isamu at yamato.ibm.com>.
@@ -420,6 +421,7 @@
#define re_string_skip_bytes(pstr,idx) ((pstr)->cur_idx += (idx))
#define re_string_set_index(pstr,idx) ((pstr)->cur_idx = (idx))
+#ifndef alloca /* if alloca is already defined, fine */
#ifdef __GNUC__
# define alloca(size) __builtin_alloca (size)
# define HAVE_ALLOCA 1
@@ -430,6 +432,7 @@
#else
# error No alloca()
#endif
+#endif /* not alloca */
#ifndef _LIBC
# if HAVE_ALLOCA
More information about the tex-live-commits
mailing list.