]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1081: has('bsd') is true for GNU/Hurd v9.1.1081
authorZhaoming Luo <zhmingluo@163.com>
Thu, 6 Feb 2025 20:39:35 +0000 (21:39 +0100)
committerChristian Brabandt <cb@256bit.org>
Thu, 6 Feb 2025 20:39:35 +0000 (21:39 +0100)
commita41dfcd55b1744b44a47d2fc3feb5d5f6207a556
treee77c4f308806dff94b1fe48e3dc9ef6f88926fa4
parent9c8f9b10fcb177fb07684626b49118dd2d2540b5
patch 9.1.1081: has('bsd') is true for GNU/Hurd

Problem:  has('bsd') is true for GNU/Hurd
Solution: exclude GNU/Hurd from BSD feature flag
          (Zhaoming Luo)

GNU/Hurd, like Mac OS X, is a BSD-based system. It should exclude
has('bsd') feature just like what Mac OS X does. The __GNU__ pre-defined
macro indicates it's compiled for GNU/Hurd.

closes: #16580

Signed-off-by: Zhaoming Luo <zhmingluo@163.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/builtin.txt
src/evalfunc.c
src/testdir/test_functions.vim
src/version.c