0
0
mirror of https://github.com/vim/vim.git synced 2025-10-02 05:04:20 -04:00

patch 7.4.1333

Problem:    Channel test fails on non-darwin builds.
Solution:   Add the "osx" feature and test for that. (Kazunobu Kuriyama)
This commit is contained in:
Bram Moolenaar
2016-02-16 14:07:40 +01:00
parent acd58ef676
commit f8df7addc5
4 changed files with 9 additions and 3 deletions

View File

@@ -7275,7 +7275,8 @@ listcmds Compiled with commands for the buffer list |:files|
localmap Compiled with local mappings and abbr. |:map-local| localmap Compiled with local mappings and abbr. |:map-local|
lua Compiled with Lua interface |Lua|. lua Compiled with Lua interface |Lua|.
mac Macintosh version of Vim. mac Macintosh version of Vim.
macunix Macintosh version of Vim, using Unix files (OS-X). macunix Compiled for OS X, with darwin
osx Compiled for OS X, with or without darwin
menu Compiled with support for |:menu|. menu Compiled with support for |:menu|.
mksession Compiled with support for |:mksession|. mksession Compiled with support for |:mksession|.
modify_fname Compiled with file name modifiers. |filename-modifiers| modify_fname Compiled with file name modifiers. |filename-modifiers|

View File

@@ -13117,7 +13117,10 @@ f_has(typval_T *argvars, typval_T *rettv)
"mac", "mac",
#endif #endif
#if defined(MACOS_X_UNIX) #if defined(MACOS_X_UNIX)
"macunix", "macunix", /* built with 'darwin' enabled */
#endif
#if defined(__APPLE__) && __APPLE__ == 1
"osx", /* built with or without 'darwin' enabled */
#endif #endif
#ifdef __QNX__ #ifdef __QNX__
"qnx", "qnx",

View File

@@ -28,7 +28,7 @@ else
finish finish
endif endif
let s:chopt = has('macunix') ? {'waittime' : 1} : {} let s:chopt = has('osx') ? {'waittime' : 1} : {}
" Run "testfunc" after sarting the server and stop the server afterwards. " Run "testfunc" after sarting the server and stop the server afterwards.
func s:run_server(testfunc) func s:run_server(testfunc)

View File

@@ -747,6 +747,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1333,
/**/ /**/
1332, 1332,
/**/ /**/