]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0832: socketserver: remote commands can be processed in reverse order v9.2.0832
authorHirohito Higashi <h.east.727@gmail.com>
Wed, 22 Jul 2026 18:15:02 +0000 (18:15 +0000)
committerChristian Brabandt <cb@256bit.org>
Wed, 22 Jul 2026 18:15:02 +0000 (18:15 +0000)
commitce5ca2e6346deb59628207601a9a0d2602c64aed
tree8cf2e04e036b58f8e0d3b03c884881fabe9c2577
parente10bba88c22c6734c4a3a085ecc9e09d3062a217
patch 9.2.0832: socketserver: remote commands can be processed in reverse order

Problem:  When several clients send a command in quick succession, e.g.
          ":drop" from repeated "--remote-tab", the commands can be
          processed in reverse order, so the files open in the wrong
          order.
Solution: The server inserts a newly accepted client at the head of the
          client list, so pending clients are handled newest-first.
          Append the client to the end of the list instead, so they are
          handled in the order they were accepted (Hirohito Higashi).

closes: #20813

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/socketserver.c
src/version.c