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.1.036 < prev    next >
Encoding:
Internet Message Format  |  2002-04-27  |  1.7 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.036
  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.1.036
  11. Problem:    This command may cause a crash: ":v/./,//-j". (Ralf Arens)
  12. Solution:   Compute the right length of the regexp when it's empty.
  13. Files:        src/search.c
  14.  
  15.  
  16. *** ../vim61.035/src/search.c    Mon Apr  8 22:11:31 2002
  17. --- src/search.c    Tue Apr 23 19:51:26 2002
  18. ***************
  19. *** 989,995 ****
  20.           }
  21.   
  22.           /* compute length of search command for get_address() */
  23. !         searchcmdlen += (int)(p - searchstr);
  24.   
  25.           str = p;                /* put str after search command */
  26.       }
  27. --- 989,995 ----
  28.           }
  29.   
  30.           /* compute length of search command for get_address() */
  31. !         searchcmdlen += (int)(p - str);
  32.   
  33.           str = p;                /* put str after search command */
  34.       }
  35. *** ../vim61.035/src/version.c    Sun Apr 28 22:08:02 2002
  36. --- src/version.c    Sun Apr 28 22:09:54 2002
  37. ***************
  38. *** 608,609 ****
  39. --- 608,611 ----
  40.   {   /* Add new patch number below this line */
  41. + /**/
  42. +     36,
  43.   /**/
  44.  
  45. -- 
  46. ARTHUR:  Shut up!  Will you shut up!
  47. DENNIS:  Ah, now we see the violence inherent in the system.
  48. ARTHUR:  Shut up!
  49. DENNIS:  Oh!  Come and see the violence inherent in the system!
  50.          HELP! HELP!  I'm being repressed!
  51.                                   The Quest for the Holy Grail (Monty Python)
  52.  
  53.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  54. ///   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   \\\
  55. \\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
  56.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  57.