]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0882: too many strlen() calls in insexpand.c v9.1.0882
authorJohn Marriott <basilisk@internode.on.net>
Sat, 23 Nov 2024 13:01:57 +0000 (14:01 +0100)
committerChristian Brabandt <cb@256bit.org>
Sat, 23 Nov 2024 13:01:57 +0000 (14:01 +0100)
commit5e6ea92b2c58cbfc642d7e35bd717f99aa2e1e53
treea940689e690ec822fbe0631c8398351287dac1cd
parent991603cc04149aeed86470637540b22bc9f622c2
patch 9.1.0882: too many strlen() calls in insexpand.c

Problem:  too many strlen() calls in insexpand.c
Solution: Refactor insexpand.c and reduce number of calls to STRLEN(),
          fix a warning get_next_filename_completion(), add new function
          ins_compl_leader_len() (John Marriott)

closes: #16095

Signed-off-by: John Marriott <basilisk@internode.on.net>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/insexpand.c
src/proto/insexpand.pro
src/version.c