[vim/vim] transstr() can be improved (after 9.2.0906) (PR #21026)

2 views
Skip to first unread message

h_east

unread,
Aug 12, 2026, 12:22:42 PM (yesterday) Aug 12
to vim/vim, Subscribed
Problem:  transstr() has comments that do not add anything to what the
          code says, and it casts a length to int only to cast it back to
          size_t.
Solution: Drop the comments and keep the length in a size_t.

related: #20925


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/21026

Commit Summary

  • beaa067 transstr() can be improved (after 9.2.0906)

File Changes

(2 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/21026@github.com>

Christian Brabandt

unread,
Aug 12, 2026, 3:47:47 PM (23 hours ago) Aug 12
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#21026)

thanks


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/21026/c5272021475@github.com>

Reply all
Reply to author
Forward
0 new messages