[vim/vim] MS-Windows: Ruby interface not work correctly (PR #19206)

2 views
Skip to first unread message

Christian Brabandt

unread,
Jan 18, 2026, 8:55:11 AMJan 18
to vim/vim, Subscribed

Problem: Ruby headers define HAVE_FSYNC, which leaks into Vim sources
on Windows and changes conditional compilation of buf_T. This
causes struct layout mismatches in if_ruby.c and results in a
different offset for the b_p_bl property, making Vim::Buffer
access fail.
Solution: Undefine HAVE_FSYNC after including the Ruby headers.

related: #19019


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

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

Commit Summary

  • 6d8f8f2 MS-Windows: Ruby does not work correctly

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19206@github.com>

Christian Brabandt

unread,
Jan 18, 2026, 3:30:56 PMJan 18
to vim/vim, Subscribed

Closed #19206 via 3b67993.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19206/issue_event/22124381015@github.com>

Reply all
Reply to author
Forward
0 new messages