[BACK]Return to tmux.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/tmux.c between version 1.182 and 1.183

version 1.182, 2017/04/22 12:08:41 version 1.183, 2017/07/03 08:08:30
Line 196 
Line 196 
         int                                      opt, flags, keys;          int                                      opt, flags, keys;
         const struct options_table_entry        *oe;          const struct options_table_entry        *oe;
   
         if (setlocale(LC_CTYPE, "en_US.UTF-8") == NULL) {          if (setlocale(LC_CTYPE, "en_US.UTF-8") == NULL &&
               setlocale(LC_CTYPE, "C.UTF-8") == NULL) {
                 if (setlocale(LC_CTYPE, "") == NULL)                  if (setlocale(LC_CTYPE, "") == NULL)
                         errx(1, "invalid LC_ALL, LC_CTYPE or LANG");                          errx(1, "invalid LC_ALL, LC_CTYPE or LANG");
                 s = nl_langinfo(CODESET);                  s = nl_langinfo(CODESET);

Legend:
Removed from v.1.182  
changed lines
  Added in v.1.183