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.062 < prev    next >
Encoding:
Internet Message Format  |  2001-10-31  |  1.7 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.062
  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.062
  11. Problem:    Crash when 'verbose' is > 3 and using ":shell". (Yegappan
  12.         Lakshmanan)
  13. Solution:   Avoid giving a NULL pointer to printf().  Also output a newline
  14.         and switch the cursor on.
  15. Files:        src/misc2.c
  16.  
  17.  
  18. *** ../vim60.61/src/misc2.c    Thu Nov  1 12:22:41 2001
  19. --- src/misc2.c    Thu Nov  1 20:22:01 2001
  20. ***************
  21. *** 2509,2515 ****
  22.       int        retval;
  23.   
  24.       if (p_verbose > 3)
  25. !     smsg((char_u *)_("Calling shell to execute: \"%s\""), cmd);
  26.   
  27.       if (*p_sh == NUL)
  28.       {
  29. --- 2509,2520 ----
  30.       int        retval;
  31.   
  32.       if (p_verbose > 3)
  33. !     {
  34. !     smsg((char_u *)_("Calling shell to execute: \"%s\""),
  35. !                             cmd == NULL ? p_sh : cmd);
  36. !     out_char('\n');
  37. !     cursor_on();
  38. !     }
  39.   
  40.       if (*p_sh == NUL)
  41.       {
  42. *** ../vim60.61/src/version.c    Thu Nov  1 15:22:32 2001
  43. --- src/version.c    Thu Nov  1 20:24:23 2001
  44. ***************
  45. *** 608,609 ****
  46. --- 608,611 ----
  47.   {   /* Add new patch number below this line */
  48. + /**/
  49. +     62,
  50.   /**/
  51.  
  52. -- 
  53. ARTHUR: I've said I'm sorry about the old woman, but from the behind you
  54.         looked ...
  55. DENNIS: What I object to is that you automatically treat me like an inferior...
  56. ARTHUR: Well ... I AM king.
  57.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  58.  
  59.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  60. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  61.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  62.