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

Diff for /src/usr.bin/calendar/io.c between version 1.39 and 1.40

version 1.39, 2015/04/18 18:28:37 version 1.40, 2015/10/23 11:01:30
Line 89 
Line 89 
                 if (strncmp(buf, "LANG=", 5) == 0) {                  if (strncmp(buf, "LANG=", 5) == 0) {
                         (void) setlocale(LC_ALL, buf + 5);                          (void) setlocale(LC_ALL, buf + 5);
                         setnnames();                          setnnames();
                         if (!strcmp(buf + 5, "ru_RU.KOI8-R") ||                          /* XXX remove KOI8 lines after 5.9 is out */
                           if (!strcmp(buf + 5, "ru_RU.UTF-8") ||
                               !strcmp(buf + 5, "uk_UA.UTF-8") ||
                               !strcmp(buf + 5, "by_BY.UTF-8")) ||
                               !strcmp(buf + 5, "ru_RU.KOI8-R") ||
                             !strcmp(buf + 5, "uk_UA.KOI8-U") ||                              !strcmp(buf + 5, "uk_UA.KOI8-U") ||
                             !strcmp(buf + 5, "by_BY.KOI8-B")) {                              !strcmp(buf + 5, "by_BY.KOI8-B")) {
                                 bodun_maybe++;                                  bodun_maybe++;

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40