summaryrefslogtreecommitdiff
path: root/usr.bin/calendar
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2017-08-10 14:26:32 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2017-08-10 14:26:32 +0000
commit80cd712172e9d75028976c8360313d6ff1d28eba (patch)
tree7ec9411079fb8ce1882054b015161a72c7e1bd50 /usr.bin/calendar
parent87b1fbc1a7cabcb2c015f1921d036674a0a50681 (diff)
Remove KOI8 lines after 5.9 is out.
From Jan Stary, Klemens Nanni and others
Diffstat (limited to 'usr.bin/calendar')
-rw-r--r--usr.bin/calendar/io.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.bin/calendar/io.c b/usr.bin/calendar/io.c
index e4cb689b940..428565dfdae 100644
--- a/usr.bin/calendar/io.c
+++ b/usr.bin/calendar/io.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: io.c,v 1.44 2016/08/31 09:38:47 jsg Exp $ */
+/* $OpenBSD: io.c,v 1.45 2017/08/10 14:26:31 tb Exp $ */
/*
* Copyright (c) 1989, 1993, 1994
@@ -89,13 +89,9 @@ cal(void)
if (strncmp(buf, "LANG=", 5) == 0) {
(void) setlocale(LC_ALL, buf + 5);
setnnames();
- /* 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, "by_BY.KOI8-B")) {
+ !strcmp(buf + 5, "by_BY.UTF-8")) {
bodun_maybe++;
bodun = 0;
free(prefix);