From: Karel Zak Date: Fri, 12 Dec 2008 13:41:34 +0000 (+0100) Subject: TODO: add request to use nl_langinfo() X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12318be41b6f0f15a5857644b68d7339ca24344d;p=util-linux TODO: add request to use nl_langinfo() Signed-off-by: Karel Zak --- diff --git a/TODO b/TODO index 3bd0db44..070b585f 100644 --- a/TODO +++ b/TODO @@ -59,6 +59,9 @@ v2.15: v2.??: ===== + * agetty: use nl_langinfo() for days and months rather than hardcoded + English names. + * rewrite ipcs to use /proc/sys/kernel rather than unreliable syscalls (there are problems with 32bit userspace on 64bit kernel) diff --git a/login-utils/agetty.c b/login-utils/agetty.c index 8c5de6ef..3b6de717 100644 --- a/login-utils/agetty.c +++ b/login-utils/agetty.c @@ -890,6 +890,7 @@ do_prompt(op, tp) case 'd': case 't': { + /* TODO: use nl_langinfo() */ char *weekday[] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" }; char *month[] = { "Jan", "Feb", "Mar", "Apr", "May",