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 / 7.4 / 7.4.115 < prev    next >
Encoding:
Internet Message Format  |  2013-12-10  |  1.6 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.4.115
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.4.115
  11. Problem:    When using Zsh expanding ~abc doesn't work when the result
  12.         contains a space.
  13. Solution:   Off-by-one error in detecting the NUL. (Pavol Juhas)
  14. Files:        src/os_unix.c
  15.  
  16.  
  17. *** ../vim-7.4.114/src/os_unix.c    2013-11-03 00:40:54.000000000 +0100
  18. --- src/os_unix.c    2013-12-11 13:19:26.000000000 +0100
  19. ***************
  20. *** 5990,5996 ****
  21.       {
  22.           /* If there is a NUL, set did_find_nul, else set check_spaces */
  23.           buffer[len] = NUL;
  24. !         if (len && (int)STRLEN(buffer) < (int)len - 1)
  25.           did_find_nul = TRUE;
  26.           else
  27.           check_spaces = TRUE;
  28. --- 5990,5996 ----
  29.       {
  30.           /* If there is a NUL, set did_find_nul, else set check_spaces */
  31.           buffer[len] = NUL;
  32. !         if (len && (int)STRLEN(buffer) < (int)len)
  33.           did_find_nul = TRUE;
  34.           else
  35.           check_spaces = TRUE;
  36. *** ../vim-7.4.114/src/version.c    2013-12-11 12:22:54.000000000 +0100
  37. --- src/version.c    2013-12-11 13:20:29.000000000 +0100
  38. ***************
  39. *** 740,741 ****
  40. --- 740,743 ----
  41.   {   /* Add new patch number below this line */
  42. + /**/
  43. +     115,
  44.   /**/
  45.  
  46. -- 
  47. Change is inevitable, except from a vending machine.
  48.  
  49.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  50. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  51. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  52.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  53.