forked from aniani/vim
patch 8.2.4354: dynamic loading of libsodium not handled properly
Problem: Dynamic loading of libsodium not handled properly. Solution: Fix has() and :version. Show an error message when loading fails. Fix memory leaks. (Ken Takata, closes #9754)
This commit is contained in:
@@ -548,7 +548,11 @@ static char *(features[]) =
|
||||
"-smartindent",
|
||||
#endif
|
||||
#ifdef FEAT_SODIUM
|
||||
# ifdef DYNAMIC_SODIUM
|
||||
"+sodium/dyn",
|
||||
# else
|
||||
"+sodium",
|
||||
# endif
|
||||
#else
|
||||
"-sodium",
|
||||
#endif
|
||||
@@ -746,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
4354,
|
||||
/**/
|
||||
4353,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user