vim: Update to 8.2.0121
This commit is contained in:
@@ -9,17 +9,17 @@ their respective libpython on PE platforms.
|
||||
|
||||
-# if !(defined(PY_NO_RTLD_GLOBAL) && defined(PY3_NO_RTLD_GLOBAL)) && defined(UNIX) && defined(FEAT_PYTHON3)
|
||||
+# if !(defined(PY_NO_RTLD_GLOBAL) && defined(PY3_NO_RTLD_GLOBAL)) && defined(UNIX) && !defined(__CYGWIN__) && defined(FEAT_PYTHON3)
|
||||
/* Can't have Python and Python3 loaded at the same time.
|
||||
* It cause a crash, because RTLD_GLOBAL is needed for
|
||||
* standard C extension libraries of one or both python versions. */
|
||||
// Can't have Python and Python3 loaded at the same time.
|
||||
// It cause a crash, because RTLD_GLOBAL is needed for
|
||||
// standard C extension libraries of one or both python versions.
|
||||
--- origsrc/vim73/src/if_python3.c 2013-05-13 12:58:44.176767800 -0500
|
||||
+++ src/vim73/src/if_python3.c 2013-05-13 16:40:26.651024900 -0500
|
||||
@@ -471,7 +471,7 @@ py3_runtime_link_init(char *libname, int
|
||||
int i;
|
||||
void *ucs_from_string, *ucs_decode, *ucs_as_encoded_string;
|
||||
PYTHON_PROC *ucs_as_encoded_string =
|
||||
(PYTHON_PROC *)&py3_PyUnicode_AsEncodedString;
|
||||
|
||||
-# if !(defined(PY_NO_RTLD_GLOBAL) && defined(PY3_NO_RTLD_GLOBAL)) && defined(UNIX) && defined(FEAT_PYTHON)
|
||||
+# if !(defined(PY_NO_RTLD_GLOBAL) && defined(PY3_NO_RTLD_GLOBAL)) && defined(UNIX) && !defined(__CYGWIN__) && defined(FEAT_PYTHON)
|
||||
/* Can't have Python and Python3 loaded at the same time.
|
||||
* It cause a crash, because RTLD_GLOBAL is needed for
|
||||
* standard C extension libraries of one or both python versions. */
|
||||
// Can't have Python and Python3 loaded at the same time.
|
||||
// It cause a crash, because RTLD_GLOBAL is needed for
|
||||
// standard C extension libraries of one or both python versions.
|
||||
|
||||
Reference in New Issue
Block a user