home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 6.0.199 < prev    next >
Encoding:
Internet Message Format  |  2002-02-06  |  1.5 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.199
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.0.199
  11. Problem:    Multi-byte: could use iconv() after calling iconv_end().
  12.         (Yasuhiro Matsumoto)
  13. Solution:   Stop converting input and output stream after calling iconv_end().
  14. Files:        src/mbyte.c
  15.  
  16.  
  17. *** ../vim60.198/src/mbyte.c    Mon Feb  4 22:35:33 2002
  18. --- src/mbyte.c    Thu Feb  7 16:27:52 2002
  19. ***************
  20. *** 2629,2634 ****
  21. --- 2629,2640 ----
  22.       void
  23.   iconv_end()
  24.   {
  25. +     /* Don't use iconv() when inputting or outputting characters. */
  26. +     if (input_conv.vc_type == CONV_ICONV)
  27. +     convert_setup(&input_conv, (char_u *)"", (char_u *)"");
  28. +     if (output_conv.vc_type == CONV_ICONV)
  29. +     convert_setup(&output_conv, (char_u *)"", (char_u *)"");
  30.       if (hIconvDLL != 0)
  31.       FreeLibrary(hIconvDLL);
  32.       if (hMsvcrtDLL != 0)
  33. *** ../vim60.198/src/version.c    Thu Feb  7 15:41:28 2002
  34. --- src/version.c    Thu Feb  7 16:37:12 2002
  35. ***************
  36. *** 608,609 ****
  37. --- 608,611 ----
  38.   {   /* Add new patch number below this line */
  39. + /**/
  40. +     199,
  41.   /**/
  42.  
  43. -- 
  44. GOD: That is your purpose Arthur ... the Quest for the Holy Grail ...
  45.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  46.  
  47.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  48. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  49.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  50.