]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0923: too many strlen() calls in filepath.c v9.1.0923
authorJohn Marriott <basilisk@internode.on.net>
Fri, 13 Dec 2024 12:58:53 +0000 (13:58 +0100)
committerChristian Brabandt <cb@256bit.org>
Fri, 13 Dec 2024 12:58:53 +0000 (13:58 +0100)
commite29c8bafa78847414419522baecd008e287389db
treeb70530eb8786d089d58ef2fc70c1dd5199b4a45e
parent618c4d36ca92a62212a37e787c202229ceff8537
patch 9.1.0923: too many strlen() calls in filepath.c

Problem:  too many strlen() calls in filepath.c
Solution: refactor filepath.c and remove calls to STRLEN(),
          unify dos_expandpath() and unix_expandpath() into
          a single function

closes: #16160

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