Patch 8.2.3109

6 views
Skip to first unread message

Bram Moolenaar

unread,
Jul 5, 2021, 11:50:47 AM7/5/21
to vim...@googlegroups.com

Patch 8.2.3109
Problem: Check for $DISPLAY never fails.
Solution: Use eval().
Files: src/testdir/check.vim


*** ../vim-8.2.3108/src/testdir/check.vim 2021-07-05 14:10:00.431729296 +0200
--- src/testdir/check.vim 2021-07-05 17:47:04.986038313 +0200
***************
*** 139,145 ****
" Command to Check for an environment variable
command -nargs=1 CheckEnv call CheckEnv(<f-args>)
func CheckEnv(name)
! if empty('$' .. a:name)
throw 'Skipped: Environment variable ' .. a:name .. ' is not set'
endif
endfunc
--- 139,145 ----
" Command to Check for an environment variable
command -nargs=1 CheckEnv call CheckEnv(<f-args>)
func CheckEnv(name)
! if empty(eval('$' .. a:name))
throw 'Skipped: Environment variable ' .. a:name .. ' is not set'
endif
endfunc
*** ../vim-8.2.3108/src/version.c 2021-07-05 14:10:00.431729296 +0200
--- src/version.c 2021-07-05 17:48:44.085929640 +0200
***************
*** 757,758 ****
--- 757,760 ----
{ /* Add new patch number below this line */
+ /**/
+ 3109,
/**/

--
From "know your smileys":
:-X My lips are sealed

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

Elimar Riesebieter

unread,
Jul 5, 2021, 2:19:42 PM7/5/21
to vim...@googlegroups.com
* Bram Moolenaar <Br...@moolenaar.net> [2021-07-05 17:50 +0200]:

>
> Patch 8.2.3109
> Problem: Check for $DISPLAY never fails.
> Solution: Use eval().
> Files: src/testdir/check.vim

Now it builds fine!

Many thanks
Elimar
--
355/113: Not the famous irrational number pi,
but an incredible simulation!
-unknown

Reply all
Reply to author
Forward
0 new messages