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.245 < prev    next >
Encoding:
Internet Message Format  |  2014-04-03  |  1.8 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.4.245
  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.245
  11. Problem:    Crash for "vim -u NONE -N  -c '&&'".
  12. Solution:   Check for the pattern to be NULL. (Dominique Pelle)
  13. Files:        src/ex_cmds.c
  14.  
  15.  
  16. *** ../vim-7.4.244/src/ex_cmds.c    2014-04-01 17:49:40.136891378 +0200
  17. --- src/ex_cmds.c    2014-04-04 18:56:00.159939544 +0200
  18. ***************
  19. *** 4425,4431 ****
  20.        * TODO: find a generic solution to make line-joining operations more
  21.        * efficient, avoid allocating a string that grows in size.
  22.        */
  23. !     if (STRCMP(pat, "\\n") == 0 && STRLEN(pat) == 2
  24.           && *sub == NUL
  25.           && (*cmd == NUL || (cmd[1] == NUL && (*cmd == 'g' || *cmd == 'l'
  26.                            || *cmd == 'p' || *cmd == '#'))))
  27. --- 4425,4431 ----
  28.        * TODO: find a generic solution to make line-joining operations more
  29.        * efficient, avoid allocating a string that grows in size.
  30.        */
  31. !     if (pat != NULL && STRCMP(pat, "\\n") == 0
  32.           && *sub == NUL
  33.           && (*cmd == NUL || (cmd[1] == NUL && (*cmd == 'g' || *cmd == 'l'
  34.                            || *cmd == 'p' || *cmd == '#'))))
  35. *** ../vim-7.4.244/src/version.c    2014-04-02 23:09:23.003439001 +0200
  36. --- src/version.c    2014-04-04 18:52:21.519939067 +0200
  37. ***************
  38. *** 736,737 ****
  39. --- 736,739 ----
  40.   {   /* Add new patch number below this line */
  41. + /**/
  42. +     245,
  43.   /**/
  44.  
  45. -- 
  46. One difference between a man and a machine is that a machine is quiet
  47. when well oiled.
  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.