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.2 / 7.2.306 < prev    next >
Encoding:
Internet Message Format  |  2009-11-24  |  1.5 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 7.2.306
  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.2.306
  11. Problem:    shellescape("10%%", 1) only escapes first %. (Christian Brabandt)
  12. Solution:   Don't copy the character after the escaped one.
  13. Files:        src/misc2.c
  14.  
  15.  
  16. *** ../vim-7.2.305/src/misc2.c    2009-11-11 16:56:13.000000000 +0100
  17. --- src/misc2.c    2009-11-25 17:11:49.000000000 +0100
  18. ***************
  19. *** 1390,1395 ****
  20. --- 1390,1396 ----
  21.           *d++ = '\\';        /* insert backslash */
  22.           while (--l >= 0)    /* copy the var */
  23.               *d++ = *p++;
  24. +         continue;
  25.           }
  26.   
  27.           MB_COPY_CHAR(p, d);
  28. *** ../vim-7.2.305/src/version.c    2009-11-25 13:03:29.000000000 +0100
  29. --- src/version.c    2009-11-25 17:13:54.000000000 +0100
  30. ***************
  31. *** 683,684 ****
  32. --- 683,686 ----
  33.   {   /* Add new patch number below this line */
  34. + /**/
  35. +     306,
  36.   /**/
  37.  
  38. -- 
  39. Article in the first Free Software Magazine: "Bram Moolenaar studied electrical
  40. engineering at the Technical University of Delft and graduated in 1985 on a
  41. multi-processor Unix architecture."
  42. Response by "dimator": Could the school not afford a proper stage for the
  43. ceremony?
  44.  
  45.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  46. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  47. \\\        download, build and distribute -- http://www.A-A-P.org        ///
  48.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  49.