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

Re: Vim 6.0: crash when LANG not set

Expand Messages
  • Bram Moolenaar
    ... Good point. This may happen on more systems, especially if setlocale() isn t supported. I notice the comment for this function is also wrong. I ll make a
    Message 1 of 3 , Oct 21, 2001
      Dany St-Amant wrote:

      > On MacOS X, I encountered a small problem in mbyte.c. It was due to the
      > fact that the environment variable LANG is not set under MacOS X. A
      > patch avoiding the crash is included, but I don't know to what the
      > encoding should really be defaulted to.

      Good point. This may happen on more systems, especially if setlocale()
      isn't supported. I notice the comment for this function is also wrong.
      I'll make a patch for it.

      --
      hundred-and-one symptoms of being an internet addict:
      138. You develop a liking for cold coffee.

      /// Bram Moolenaar -- Bram@... -- http://www.moolenaar.net \\\
      ((( Creator of Vim -- http://vim.sf.net -- 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.