|
Karsten Hopp |
7119c5 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
7119c5 |
Subject: Patch 7.4.892
|
|
Karsten Hopp |
7119c5 |
Fcc: outbox
|
|
Karsten Hopp |
7119c5 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
7119c5 |
Mime-Version: 1.0
|
|
Karsten Hopp |
7119c5 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
7119c5 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
7119c5 |
------------
|
|
Karsten Hopp |
7119c5 |
|
|
Karsten Hopp |
7119c5 |
Patch 7.4.892
|
|
Karsten Hopp |
7119c5 |
Problem: On MS-Windows the iconv DLL may have a different name.
|
|
Karsten Hopp |
7119c5 |
Solution: Also try libiconv2.dll and libiconv-2.dll. (Yasuhiro Matsumoto)
|
|
Karsten Hopp |
7119c5 |
Files: src/mbyte.c
|
|
Karsten Hopp |
7119c5 |
|
|
Karsten Hopp |
7119c5 |
|
|
Karsten Hopp |
7119c5 |
*** ../vim-7.4.891/src/mbyte.c 2015-06-21 14:21:54.477599972 +0200
|
|
Karsten Hopp |
7119c5 |
--- src/mbyte.c 2015-10-13 13:43:51.747457468 +0200
|
|
Karsten Hopp |
7119c5 |
***************
|
|
Karsten Hopp |
7119c5 |
*** 4400,4406 ****
|
|
Karsten Hopp |
7119c5 |
|
|
Karsten Hopp |
7119c5 |
# ifndef DYNAMIC_ICONV_DLL
|
|
Karsten Hopp |
7119c5 |
# define DYNAMIC_ICONV_DLL "iconv.dll"
|
|
Karsten Hopp |
7119c5 |
! # define DYNAMIC_ICONV_DLL_ALT "libiconv.dll"
|
|
Karsten Hopp |
7119c5 |
# endif
|
|
Karsten Hopp |
7119c5 |
# ifndef DYNAMIC_MSVCRT_DLL
|
|
Karsten Hopp |
7119c5 |
# define DYNAMIC_MSVCRT_DLL "msvcrt.dll"
|
|
Karsten Hopp |
7119c5 |
--- 4400,4408 ----
|
|
Karsten Hopp |
7119c5 |
|
|
Karsten Hopp |
7119c5 |
# ifndef DYNAMIC_ICONV_DLL
|
|
Karsten Hopp |
7119c5 |
# define DYNAMIC_ICONV_DLL "iconv.dll"
|
|
Karsten Hopp |
7119c5 |
! # define DYNAMIC_ICONV_DLL_ALT1 "libiconv.dll"
|
|
Karsten Hopp |
7119c5 |
! # define DYNAMIC_ICONV_DLL_ALT2 "libiconv2.dll"
|
|
Karsten Hopp |
7119c5 |
! # define DYNAMIC_ICONV_DLL_ALT3 "libiconv-2.dll"
|
|
Karsten Hopp |
7119c5 |
# endif
|
|
Karsten Hopp |
7119c5 |
# ifndef DYNAMIC_MSVCRT_DLL
|
|
Karsten Hopp |
7119c5 |
# define DYNAMIC_MSVCRT_DLL "msvcrt.dll"
|
|
Karsten Hopp |
7119c5 |
***************
|
|
Karsten Hopp |
7119c5 |
*** 4456,4464 ****
|
|
Karsten Hopp |
7119c5 |
{
|
|
Karsten Hopp |
7119c5 |
if (hIconvDLL != 0 && hMsvcrtDLL != 0)
|
|
Karsten Hopp |
7119c5 |
return TRUE;
|
|
Karsten Hopp |
7119c5 |
hIconvDLL = vimLoadLib(DYNAMIC_ICONV_DLL);
|
|
Karsten Hopp |
7119c5 |
! if (hIconvDLL == 0) /* sometimes it's called libiconv.dll */
|
|
Karsten Hopp |
7119c5 |
! hIconvDLL = vimLoadLib(DYNAMIC_ICONV_DLL_ALT);
|
|
Karsten Hopp |
7119c5 |
if (hIconvDLL != 0)
|
|
Karsten Hopp |
7119c5 |
hMsvcrtDLL = vimLoadLib(DYNAMIC_MSVCRT_DLL);
|
|
Karsten Hopp |
7119c5 |
if (hIconvDLL == 0 || hMsvcrtDLL == 0)
|
|
Karsten Hopp |
7119c5 |
--- 4458,4473 ----
|
|
Karsten Hopp |
7119c5 |
{
|
|
Karsten Hopp |
7119c5 |
if (hIconvDLL != 0 && hMsvcrtDLL != 0)
|
|
Karsten Hopp |
7119c5 |
return TRUE;
|
|
Karsten Hopp |
7119c5 |
+
|
|
Karsten Hopp |
7119c5 |
+ /* The iconv DLL file goes under different names, try them all. */
|
|
Karsten Hopp |
7119c5 |
hIconvDLL = vimLoadLib(DYNAMIC_ICONV_DLL);
|
|
Karsten Hopp |
7119c5 |
! if (hIconvDLL == 0)
|
|
Karsten Hopp |
7119c5 |
! hIconvDLL = vimLoadLib(DYNAMIC_ICONV_DLL_ALT1);
|
|
Karsten Hopp |
7119c5 |
! if (hIconvDLL == 0)
|
|
Karsten Hopp |
7119c5 |
! hIconvDLL = vimLoadLib(DYNAMIC_ICONV_DLL_ALT2);
|
|
Karsten Hopp |
7119c5 |
! if (hIconvDLL == 0)
|
|
Karsten Hopp |
7119c5 |
! hIconvDLL = vimLoadLib(DYNAMIC_ICONV_DLL_ALT3);
|
|
Karsten Hopp |
7119c5 |
!
|
|
Karsten Hopp |
7119c5 |
if (hIconvDLL != 0)
|
|
Karsten Hopp |
7119c5 |
hMsvcrtDLL = vimLoadLib(DYNAMIC_MSVCRT_DLL);
|
|
Karsten Hopp |
7119c5 |
if (hIconvDLL == 0 || hMsvcrtDLL == 0)
|
|
Karsten Hopp |
7119c5 |
*** ../vim-7.4.891/src/version.c 2015-10-07 11:41:43.158141156 +0200
|
|
Karsten Hopp |
7119c5 |
--- src/version.c 2015-10-13 13:47:01.433459855 +0200
|
|
Karsten Hopp |
7119c5 |
***************
|
|
Karsten Hopp |
7119c5 |
*** 743,744 ****
|
|
Karsten Hopp |
7119c5 |
--- 743,746 ----
|
|
Karsten Hopp |
7119c5 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
7119c5 |
+ /**/
|
|
Karsten Hopp |
7119c5 |
+ 892,
|
|
Karsten Hopp |
7119c5 |
/**/
|
|
Karsten Hopp |
7119c5 |
|
|
Karsten Hopp |
7119c5 |
--
|
|
Karsten Hopp |
7119c5 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
7119c5 |
32. You don't know what sex three of your closest friends are, because they
|
|
Karsten Hopp |
7119c5 |
have neutral nicknames and you never bothered to ask.
|
|
Karsten Hopp |
7119c5 |
|
|
Karsten Hopp |
7119c5 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
7119c5 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
7119c5 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
7119c5 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|
|
Karsten Hopp |
7119c5 |
|
|
Karsten Hopp |
7119c5 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
7119c5 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
7119c5 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
7119c5 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|