From c7d2a57b3a076f6ecb16f93c0b09280c4b3b4175 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 28 Nov 2019 21:16:06 +0100 Subject: [PATCH] patch 8.1.2355: test with "man" fails on FreeBSD Problem: Test with "man" fails on FreeBSD. Solution: Use "-P" instead of "--pager". --- src/testdir/test_normal.vim | 4 ++-- src/version.c | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/testdir/test_normal.vim b/src/testdir/test_normal.vim index c4b38b1c6..bbb999386 100644 --- a/src/testdir/test_normal.vim +++ b/src/testdir/test_normal.vim @@ -1204,8 +1204,8 @@ func Test_normal23_K() return endif - if has('mac') - " In MacOS, the option for specifying a pager is different + if has('mac') || has('bsd') + " In MacOS and BSD, the option for specifying a pager is different set keywordprg=man\ -P\ cat else set keywordprg=man\ --pager=cat diff --git a/src/version.c b/src/version.c index b3b48d486..4ca5c0f76 100644 --- a/src/version.c +++ b/src/version.c @@ -737,6 +737,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2355, /**/ 2354, /**/ -- 2.50.1