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

Re: :X command

Expand Messages
  • Bram Moolenaar
    ... Very good. Hmm, I think the call in main() to get the crypt key also should ask twice. I ll change it a bit. ... Looks like you are right. Thanks for a
    Message 1 of 4 , Jan 31, 2001
    • 0 Attachment
      Chase Tingley wrote:

      > I took a rough swing at implementing this (attached).

      Very good. Hmm, I think the call in main() to get the crypt key also should
      ask twice. I'll change it a bit.

      > Also, I'm pretty sure (though not 100%) that get_crypt_key() was leaking
      > "p" when TRUE was given as the value of "store" -- set_option_value() would
      > save a copy and the original p allocated by getcmdline_prompt() would
      > wander off into the ether. Hopefully I'm not missing something or
      > hallucinating this; I tentatively stuck an extra vim_free in the patch to
      > deal with it.

      Looks like you are right.

      Thanks for a useful reply to this discussion!

      --
      hundred-and-one symptoms of being an internet addict:
      92. It takes you two hours to check all 14 of your mailboxes.

      /// Bram Moolenaar -- Bram@... -- http://www.moolenaar.net \\\
      ((( Creator of Vim - http://www.vim.org -- ftp://ftp.vim.org/pub/vim )))
      \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///
    Your message has been successfully submitted and would be delivered to recipients shortly.