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

17840Re: :X command

Expand Messages
  • Bram Moolenaar
    Jan 31, 2001
      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 ///
    • Show all 4 messages in this topic