Loading ...
Sorry, an error occurred while loading the content.

Patch 7.3.458

Expand Messages
  • Bram Moolenaar
    Patch 7.3.458 Problem: Crash when calling smsg() during startup. Solution: Don t use shortmess when it is not set yet. Files: src/option.c ...
    Message 1 of 1 , Feb 29 4:51 AM
    • 0 Attachment
      Patch 7.3.458
      Problem: Crash when calling smsg() during startup.
      Solution: Don't use 'shortmess' when it is not set yet.
      Files: src/option.c


      *** ../vim-7.3.457/src/option.c 2012-02-20 22:18:22.000000000 +0100
      --- src/option.c 2012-02-26 13:14:48.000000000 +0100
      ***************
      *** 10984,10990 ****
      shortmess(x)
      int x;
      {
      ! return ( vim_strchr(p_shm, x) != NULL
      || (vim_strchr(p_shm, 'a') != NULL
      && vim_strchr((char_u *)SHM_A, x) != NULL));
      }
      --- 10984,10991 ----
      shortmess(x)
      int x;
      {
      ! return p_shm != NULL &&
      ! ( vim_strchr(p_shm, x) != NULL
      || (vim_strchr(p_shm, 'a') != NULL
      && vim_strchr((char_u *)SHM_A, x) != NULL));
      }
      *** ../vim-7.3.457/src/version.c 2012-02-29 13:49:03.000000000 +0100
      --- src/version.c 2012-02-29 13:50:52.000000000 +0100
      ***************
      *** 716,717 ****
      --- 716,719 ----
      { /* Add new patch number below this line */
      + /**/
      + 458,
      /**/

      --
      Support your right to bare arms! Wear short sleeves!

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ an exciting new programming language -- http://www.Zimbu.org ///
      \\\ help me help AIDS victims -- http://ICCF-Holland.org ///

      --
      You received this message from the "vim_dev" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php
    Your message has been successfully submitted and would be delivered to recipients shortly.