1. 12 Aug, 2020 1 commit
    • Paul Eggert's avatar
      Update from Gnulib · e697ca15
      Paul Eggert authored
      This incorporates:
      2020-08-12 stdint: port intptr_t to more-recent MinGW
      2020-08-11 Use __restrict also on clang
      2020-08-11 Use flexible array syntax also on clang
      2020-08-11 fcntl: On native Windows, use _setmode, not setmode
      * lib/binary-io.h, lib/cdefs.h, lib/fcntl.c, lib/regex.h:
      * lib/stdint.in.h: Copy from Gnulib.
      e697ca15
  2. 30 Jul, 2020 1 commit
    • Paul Eggert's avatar
      Update from Gnulib · 5d89a9c2
      Paul Eggert authored
      This incorporates:
      2020-07-30 work around some Oracle Studio attribute bugs
      2020-07-29 fsusage, regex, stat-size: remove Cray support
      2020-07-26 inttypes: remove support for AIX 4
      2020-07-26 gettimeofday: remove workaround for Mac OS X 10.0
      2020-07-26 don't require gl_LOCALTIME_BUFFER_DEFAULTS
      2020-07-26 alloca: remove Cray-2 and Cray Y-MP support
      2020-07-26 libgmp: remove dependency on havelib
      2020-07-26 libgmp: remove HAVE_GMP, LIB_GMP
      2020-07-25 multiarch: prepare for x86_64+arm64 universal in macOS 11
      2020-07-25 sigprocmask: small autoconf macro improvement
      2020-07-25 small autoconf macro improvements
      2020-07-24 timespec: remove dependence on ‘verify’
      2020-07-24 optimize a few more three-valued comparisons
      2020-07-24 fix _GL_CMP parenthesization typo
      2020-07-23 optimize three-valued comparison between integers
      2020-07-24 doc: update for Mac OS X 10.13
      2020-07-23 fchmodat, lchmod: use /proc on Cygwin
      2020-07-21 inttypes: fix PRI*PTR and SCN*PTR on 64-bit native Windows
      2020-07-12 libgmp: avoid warning when --without-libgmp is used
      2020-07-12 libgmp: link to the correct shared library
      * lib/mini-gmp-gnulib.c: Ignore -Wsuggest-attribute=malloc only for
      * build-aux/config.guess, build-aux/config.sub:
      * build-aux/install-sh, doc/misc/texinfo.tex, lib/c-strcasecmp.c:
      * lib/c-strncasecmp.c, lib/fchmodat.c, lib/fsusage.c:
      * lib/gettimeofday.c, lib/inttypes.in.h, lib/lchmod.c:
      * lib/mini-gmp-gnulib.c, lib/nstrftime.c, lib/regex.h, lib/timespec.h:
      * m4/alloca.m4, m4/getgroups.m4, m4/gettimeofday.m4:
      * m4/gnulib-common.m4, m4/inttypes.m4, m4/libgmp.m4, m4/mktime.m4:
      * m4/multiarch.m4:
      Copy from Gnulib.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
      * src/Makefile.in, test/Makefile.in (LIBGMP):
      Rename from LIB_GMP for compatibility with Gnulib.
      All uses changed.
      5d89a9c2
  3. 01 Jan, 2020 1 commit
  4. 01 Jan, 2019 1 commit
    • Paul Eggert's avatar
      Update from Gnulib · 11549870
      Paul Eggert authored
      This incorporates mostly just copyright-year changes, plus
      recent minor updates from glibc for the non-Emacs regular
      expression code.
      11549870
  5. 06 Aug, 2018 1 commit
    • Paul Eggert's avatar
      Use Gnulib regex for lib-src · d904cc83
      Paul Eggert authored
      Emacs regular expressions forked from everyone else long ago.
      This makes it official and should allow simplification later.
      etags.c now uses the glibc regex API, falling back on a
      Gnulib-supplied substitute lib/regex.c if necessary.
      Emacs proper now uses its own regular expression module.
      Although this patch may look dauntingly large, most of it
      was generated automatically by admin/merge-gnulib
      and contains an exact copy of the glibc regex source,
      and the by-hand changes do not grow the Emacs source code.
      * admin/merge-gnulib (GNULIB_MODULES): Add regex.
      (AVOIDED_MODULES): Add btowc, langinfo, lock, mbrtowc, mbsinit,
      nl_langinfo, wchar, wcrtomb, wctype-h.
      * lib-src/Makefile.in (regex-emacs.o): Remove; Gnulib does it now.
      (etags_deps, etags_libs): Remove regex-emacs.o.
      * lib-src/etags.c: Go back to including regex.h.
      (add_regex): Use unsigned char translation array,
      since glibc regex requires that.
      * lib/Makefile.in (not_emacs_OBJECTS, for_emacs_OBJECTS): New macros.
      (libegnu_a_OBJECTS): Use them, to avoid building e-regex.o.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
      * lib/regcomp.c, lib/regex.c, lib/regex.h, lib/regex_internal.c:
      * lib/regex_internal.h, lib/regexec.c, m4/builtin-expect.m4:
      * m4/eealloc.m4, m4/glibc21.m4, m4/mbstate_t.m4, m4/regex.m4:
      New files, copied from Gnulib.
      * src/regex-emacs.h, src/conf_post.h:
      (RE_TRANSLATE_TYPE, RE_TRANSLATE, RE_TRANSLATE_P):
      Move from src/conf_post.h to src/regex-emacs.h,
      so that they don’t interfere with compiling lib/regex.c.
      d904cc83