emacs/lib-src
Paul Eggert d7c6836288 Avoid some strlen work, primarily via strnlen
* admin/merge-gnulib (GNULIB_MODULES): Add strnlen.
* lib-src/etags.c (find_entries):
* src/emacs.c (main):
* src/nsmenu.m (parseKeyEquiv:):
* src/nsterm.m (ns_xlfd_to_fontname):
* src/term.c (vfatal):
Prefer !*X to !strlen (X).
* lib-src/etags.c (pfnote, add_regex):
* lib-src/pop.c (pop_open):
* lib-src/update-game-score.c (main):
* lwlib/lwlib.c (lw_separator_p):
* src/doprnt.c (doprnt):
* src/emacs.c (main):
* src/inotify.c (inotifyevent_to_event):
* src/keyboard.c (menu_separator_name_p, parse_tool_bar_item):
* src/sysdep.c (get_current_dir_name_or_unreachable):
* src/xdisp.c (store_mode_line_string):
Use strnlen to avoid unnecessary work with strlen.
* lib-src/etags.c (Prolog_functions, prolog_pr)
(Erlang_functions, erlang_func):
Prefer ptrdiff_t to size_t when either will do.
(prolog_pr, erlang_func): New arg LASTLEN, to avoid
unnecessary strlen call. All callers changed.
* lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
* lib/strnlen.c, m4/strnlen.m4: New files, copied from Gnulib.
* lwlib/lwlib.c (lw_separator_p):
* src/json.c (json_has_prefix):
Use strncmp to avoid unecessary work with strlen + memcmp.
* src/process.c (set_socket_option): Use SBYTES instead of strlen.
2019-06-25 14:55:08 -07:00
..
ChangeLog.1 Update copyright year to 2019 2019-01-01 01:01:13 +00: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 Simplify lib-src version printing 2019-06-20 08:57:25 -07:00
emacsclient.c Simplify lib-src version printing 2019-06-20 08:57:25 -07:00
etags.c Avoid some strlen work, primarily via strnlen 2019-06-25 14:55:08 -07:00
hexl.c Update copyright year to 2019 2019-01-01 01:01:13 +00:00
make-docfile.c Mark _Noreturn error functions as cold 2019-04-18 00:35:18 -07:00
make-fingerprint.c Port new fingerprinting scheme to clang + LTO 2019-05-04 13:16:15 -07:00
Makefile.in Simplify lib-src version printing 2019-06-20 08:57:25 -07:00
movemail.c Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ntlib.c Fix MS-Windows build broken by make-fingerprint changes 2019-04-15 17:17:01 +03:00
ntlib.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
pop.c Avoid some strlen work, primarily via strnlen 2019-06-25 14:55:08 -07:00
pop.h Update author/maintainer info 2019-05-26 01:00:16 -07:00
rcs2log Update author/maintainer info 2019-05-26 01:00:16 -07:00
README changed Emacs' to GNU Emacs' 2006-03-31 07:25:44 +00:00
update-game-score.c Avoid some strlen work, primarily via strnlen 2019-06-25 14:55:08 -07: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.