Files
emacs/lib
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
..
2019-04-13 21:13:57 -07:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2019-01-01 01:01:13 +00:00
2019-03-10 23:05:30 -07:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-06-07 00:44:45 -07:00
2019-06-07 00:44:45 -07:00
2019-01-01 01:01:13 +00:00
2015-09-25 00:23:18 -07:00
2018-12-31 18:20:07 -08:00
2019-01-01 01:01:13 +00:00
2018-12-31 18:20:07 -08:00
2018-12-31 18:20:07 -08:00
2019-01-01 01:01:13 +00:00
2018-12-31 18:20:07 -08:00
2019-01-01 01:01:13 +00:00
2019-01-27 16:20:40 -08:00
2018-12-31 18:20:07 -08:00
2019-01-01 01:01:13 +00:00
2018-12-31 18:20:07 -08:00
2012-11-03 11:54:17 -07:00
2017-10-01 18:31:10 -07:00
2019-01-01 01:01:13 +00:00
2018-12-31 18:20:07 -08:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2018-12-31 18:20:07 -08:00
2018-12-31 17:57:29 -08:00
2018-12-31 18:20:07 -08:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2019-01-01 01:01:13 +00:00
2018-12-31 17:57:29 -08:00
2019-01-01 01:01:13 +00:00
2019-01-27 16:20:40 -08:00
2018-12-31 17:57:29 -08:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2018-12-31 18:20:07 -08:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-05-29 16:34:57 -07:00
2018-12-31 18:20:07 -08:00
2018-12-31 18:20:07 -08:00
2019-02-25 08:27:40 -08:00
2018-12-31 18:20:07 -08:00
2018-12-31 18:20:07 -08:00
2018-12-31 17:57:29 -08:00
2019-02-02 13:15:10 -08:00
2019-01-01 01:01:13 +00:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2018-12-31 18:20:07 -08:00
2019-03-10 23:05:30 -07:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2018-12-31 17:57:29 -08:00
2019-01-01 01:01:13 +00:00
2019-01-27 16:20:40 -08:00
2018-12-31 18:20:07 -08:00
2019-03-25 14:55:49 -07:00
2018-12-31 18:20:07 -08:00
2018-12-31 18:20:07 -08:00
2019-01-01 01:01:13 +00:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2018-12-31 18:20:07 -08:00
2018-12-31 17:57:29 -08:00
2018-12-31 18:20:07 -08:00
2018-12-31 18:20:07 -08:00
2019-02-25 08:27:40 -08:00
2019-06-23 18:19:08 -07:00
2019-06-23 18:19:08 -07:00
2018-12-31 18:20:07 -08:00
2018-12-31 18:20:07 -08:00
2018-12-31 18:20:07 -08:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-04-30 09:45:08 -07:00
2019-04-30 09:45:08 -07:00
2019-02-25 08:27:40 -08:00
2018-12-31 17:57:29 -08:00
2016-09-30 12:38:52 -07:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-06-23 18:19:08 -07:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-03-25 14:55:49 -07:00
2018-12-31 18:20:07 -08:00
2018-12-31 18:20:07 -08:00
2018-12-31 18:20:07 -08:00
2018-12-31 18:20:07 -08:00
2019-03-25 14:55:49 -07:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2018-12-31 17:57:29 -08:00
2018-12-31 18:20:07 -08:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2018-12-31 18:20:07 -08:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2012-08-02 17:42:11 -07:00
2019-03-25 14:55:49 -07:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-01-27 16:20:40 -08:00
2019-01-27 16:20:40 -08:00
2019-02-02 13:15:10 -08:00
2019-01-01 01:01:13 +00:00
2019-04-24 17:34:32 -07:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2018-12-31 18:20:07 -08:00
2018-12-31 18:20:07 -08:00
2018-12-31 18:20:07 -08:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-01-27 16:20:40 -08:00
2019-01-01 01:01:13 +00:00
2018-12-31 17:57:29 -08:00
2018-12-31 18:20:07 -08:00
2019-01-01 01:01:13 +00:00
2018-12-31 18:20:07 -08:00
2018-12-31 17:57:29 -08:00
2019-01-01 01:01:13 +00:00
2018-12-31 17:57:29 -08:00
2019-04-30 09:45:08 -07:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2012-08-02 17:42:11 -07:00
2018-12-31 17:57:29 -08:00
2015-10-13 23:34:47 -07:00
2019-01-01 01:01:13 +00:00
2015-10-13 23:34:47 -07:00
2019-06-25 09:22:52 -07:00
2019-01-01 01:01:13 +00:00
2019-03-25 14:55:49 -07:00
2019-01-01 01:01:13 +00:00
2019-05-29 16:34:57 -07:00
2019-02-25 08:27:40 -08:00
2018-12-31 17:57:29 -08:00
2018-12-31 18:20:07 -08:00