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

Patch 7.4a.028

Expand Messages
  • Bram Moolenaar
    Patch 7.4a.028 Problem: Crash when spell checking in new buffer. Solution: Set the b_p_key field. (Mike Williams) Files: src/spell.c,
    Message 1 of 1 , Jul 17 8:35 AM
    • 0 Attachment
      Patch 7.4a.028
      Problem: Crash when spell checking in new buffer.
      Solution: Set the b_p_key field. (Mike Williams)
      Files: src/spell.c, src/testdir/test58.in


      *** ../vim-7.4a.027/src/spell.c 2013-06-08 16:10:52.000000000 +0200
      --- src/spell.c 2013-07-17 17:28:28.000000000 +0200
      ***************
      *** 9054,9059 ****
      --- 9054,9062 ----
      {
      buf->b_spell = TRUE;
      buf->b_p_swf = TRUE; /* may create a swap file */
      + #ifdef FEAT_CRYPT
      + buf->b_p_key = empty_option;
      + #endif
      ml_open(buf);
      ml_open_file(buf); /* create swap file now */
      }
      *** ../vim-7.4a.027/src/testdir/test58.in 2010-05-15 13:04:10.000000000 +0200
      --- src/testdir/test58.in 2013-07-17 17:27:42.000000000 +0200
      ***************
      *** 7,12 ****
      --- 7,16 ----
      :set enc=latin1
      :e!
      :"
      + :" Check using z= in new buffer (crash fixed by patch 7.4a.028).
      + :set maxmem=512 spell
      + iasd z=:"
      + :"
      :" Function to test .aff/.dic with list of good and bad words.
      :func TestOne(aff, dic)
      set spellfile=
      *** ../vim-7.4a.027/src/version.c 2013-07-17 17:15:21.000000000 +0200
      --- src/version.c 2013-07-17 17:29:24.000000000 +0200
      ***************
      *** 729,730 ****
      --- 729,732 ----
      { /* Add new patch number below this line */
      + /**/
      + 28,
      /**/

      --
      An alien life briefly visits earth. Just before departing it leaves a
      message in the dust on the back of a white van. The world is shocked
      and wants to know what it means. After months of studies the worlds
      best linguistic scientists are able to decipher the message: "Wash me!".

      /// 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

      ---
      You received this message because you are subscribed to the Google Groups "vim_dev" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    Your message has been successfully submitted and would be delivered to recipients shortly.