1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 12:21:25 -08:00
emacs/lib-src
Paul Eggert d904cc83f3 Use Gnulib regex for lib-src
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.
2018-08-05 19:36:09 -07:00
..
ChangeLog.1 Update copyright year to 2018 2018-01-01 00:57:59 -08:00
COPYING Merge from Gnulib 2017-10-01 18:31:10 -07:00
ctags.c Port ctags+etags build to Sun C 5.12. 2014-05-18 11:57:04 -07:00
ebrowse.c Port --enable-gcc-warnings to GCC 8 2018-04-28 16:56:48 -07:00
emacsclient.c Port --enable-gcc-warnings to GCC 8 2018-04-30 17:17:54 -07:00
etags.c Use Gnulib regex for lib-src 2018-08-05 19:36:09 -07:00
hexl.c Update copyright year to 2018 2018-01-01 00:57:59 -08:00
make-docfile.c Port --enable-gcc-warnings to GCC 8 2018-04-28 16:56:48 -07:00
Makefile.in Use Gnulib regex for lib-src 2018-08-05 19:36:09 -07:00
movemail.c Port --enable-gcc-warnings to GCC 8 2018-04-28 16:56:48 -07:00
ntlib.c Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ntlib.h Update copyright year to 2018 2018-01-01 00:57:59 -08:00
pop.c ; Fix last change: only MinGW runtime 5.0.2 and later needs that. 2018-07-28 17:21:53 +03:00
pop.h Update copyright year to 2018 2018-01-01 00:57:59 -08:00
profile.c Update copyright year to 2018 2018-01-01 00:57:59 -08:00
rcs2log Fix copyright years by hand 2018-01-01 01:02:09 -08:00
README
update-game-score.c Update copyright year to 2018 2018-01-01 00:57:59 -08:00

This directory contains the source code for the architecture-dependent
files that go in ${archlibdir}.  At present, these are mostly utility
programs used by GNU Emacs.