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.0.034 < prev    next >
Encoding:
Internet Message Format  |  2001-10-28  |  1.6 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.034
  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.0.034
  11. Problem:    Calling searchpair() with three arguments could result in a crash
  12.         or strange error message. (Kalle Bjorklid)
  13. Solution:   Don't use the fifth argument when there is no fourth argument.
  14. Files:        src/eval.c
  15.  
  16.  
  17. *** ../vim60.33/src/eval.c    Fri Oct 19 19:36:36 2001
  18. --- src/eval.c    Mon Oct 29 15:09:18 2001
  19. ***************
  20. *** 5201,5207 ****
  21.       dir = get_search_arg(&argvars[3], &flags); /* may set p_ws */
  22.   
  23.       /* Optional fifth argument: skip expresion */
  24. !     if (argvars[4].var_type == VAR_UNKNOWN)
  25.       skip = (char_u *)"";
  26.       else
  27.       skip = get_var_string_buf(&argvars[4], nbuf3);
  28. --- 5201,5208 ----
  29.       dir = get_search_arg(&argvars[3], &flags); /* may set p_ws */
  30.   
  31.       /* Optional fifth argument: skip expresion */
  32. !     if (argvars[3].var_type == VAR_UNKNOWN
  33. !         || argvars[4].var_type == VAR_UNKNOWN)
  34.       skip = (char_u *)"";
  35.       else
  36.       skip = get_var_string_buf(&argvars[4], nbuf3);
  37. *** ../vim60.33/src/version.c    Mon Oct 29 14:40:42 2001
  38. --- src/version.c    Mon Oct 29 15:10:33 2001
  39. ***************
  40. *** 608,609 ****
  41. --- 608,611 ----
  42.   {   /* Add new patch number below this line */
  43. + /**/
  44. +     34,
  45.   /**/
  46.  
  47. -- 
  48. There are three kinds of people: Those who can count & those who can't. 
  49.  
  50.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  51. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  52.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  53.