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.2.467 < prev    next >
Encoding:
Internet Message Format  |  2004-04-13  |  1.8 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.2.467 (extra)
  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.2.467 (extra, after 6.2.463)
  11. Problem:    Win32: can't compile without multi-byte feature. (Ajit Thakkar)
  12. Solution:   Add #ifdefs around the info stream code.
  13. Files:        src/os_win32.c
  14.  
  15.  
  16. *** ../vim-6.2.466/src/os_win32.c    Mon Apr 12 15:45:28 2004
  17. --- src/os_win32.c    Tue Apr 13 16:25:08 2004
  18. ***************
  19. *** 4418,4423 ****
  20. --- 4418,4424 ----
  21.   }
  22.   #endif
  23.   
  24. + #ifdef FEAT_MBYTE
  25.   /*
  26.    * SUB STREAM (aka info stream) handling:
  27.    *
  28. ***************
  29. *** 4561,4566 ****
  30. --- 4562,4568 ----
  31.       vim_free(fromw);
  32.       vim_free(tow);
  33.   }
  34. + #endif
  35.   
  36.   /*
  37.    * Copy file attributes from file "from" to file "to".
  38. ***************
  39. *** 4570,4579 ****
  40. --- 4572,4583 ----
  41.       int
  42.   mch_copy_file_attribute(char_u *from, char_u *to)
  43.   {
  44. + #ifdef FEAT_MBYTE
  45.       /* File streams only work on Windows NT and later. */
  46.       PlatformId();
  47.       if (g_PlatformId == VER_PLATFORM_WIN32_NT)
  48.       copy_infostreams(from, to);
  49. + #endif
  50.       return 0;
  51.   }
  52.   
  53. *** ../vim-6.2.466/src/version.c    Mon Apr 12 15:45:28 2004
  54. --- src/version.c    Wed Apr 14 10:42:43 2004
  55. ***************
  56. *** 639,640 ****
  57. --- 639,642 ----
  58.   {   /* Add new patch number below this line */
  59. + /**/
  60. +     467,
  61.   /**/
  62.  
  63. -- 
  64. Q: How do you tell the difference between a female cat and a male cat?
  65. A: You ask it a question and if HE answers, it's a male but, if SHE
  66.    answers, it's a female.
  67.  
  68.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  69. ///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  70. \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
  71.  \\\  Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
  72.