This PR changes some more calls in various source files from ga_concat() to ga_concat_len() where the length is known or can be calculated.
In addition:
In os_unix.c, in function socket_server_list_sockets() use a string_T for the strings buf and path for use in ga_concat_len() and drop uneeded variable dir.
In quickfix.c:
-> in function qf_jump_print_msg() use a string_T for the string IObuff for use in ga_concat_len().
-> in function qf_range_text() use a string_T for the the string buf for use in ga_concat_len().
In register.c, simplify function execreg_line_continuation().
In terminal.c, in function read_dump_file() use a string_T for the string prev_char for use in ga_concat_len().
In tuple.c, in function tuple_join_inner() use a string_T for the string s for use in ga_concat_len(). Also, change local struct join_T to use string_T.
In vim9type.c, in functions type_name_tuple() and type_name_func() for the string arg_type for use in ga_concat_len().
Cheers
John
https://github.com/vim/vim/pull/19038
(10 files)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
@basilisk0315 pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()