Ken Takata wrote:

> > Hi,
> > 
> > The current version of Vim uses an address of _errno which is exported by
> > msvcrXX.dll to check the error code of (lib)iconv.dll.
> > However the version (or name) of msvcrXX.dll is fixed at the compile time,
> > we cannot use another version of iconv.dll which is linked against another
> > version of msvcrXX.dll.
> > 
> > I wrote a patch which uses an address of _errno which is actually
> > linked with the iconv.dll.
> > https://gist.github.com/4292446
> > 
> > This patch uses a technique similar to API hooking.
> > (Jeffrey Richter's "Windows via C/C++" has good information about
> > API hooking.)
> 
> I found a typo in a comment in mbyte.c while I wrote the patch.

I'll include it, thanks!


-- 
If Apple would build a car...
... it would be powered by the sun, be reliable, five times
as fast and twice as easy to drive; but would only run on
five percent of the roads.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui