diff options
author | Karel Zak | 2008-12-12 14:41:34 +0100 |
---|---|---|
committer | Karel Zak | 2008-12-12 14:41:34 +0100 |
commit | 12318be41b6f0f15a5857644b68d7339ca24344d (patch) | |
tree | 72f947c0e3d90d13a5d0e4f9e116e6d1e9bd2bf8 | |
parent | Revert "login-utils: several strings without gettext calls" (diff) | |
download | kernel-qcow2-util-linux-12318be41b6f0f15a5857644b68d7339ca24344d.tar.gz kernel-qcow2-util-linux-12318be41b6f0f15a5857644b68d7339ca24344d.tar.xz kernel-qcow2-util-linux-12318be41b6f0f15a5857644b68d7339ca24344d.zip |
TODO: add request to use nl_langinfo()
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r-- | TODO | 3 | ||||
-rw-r--r-- | login-utils/agetty.c | 1 |
2 files changed, 4 insertions, 0 deletions
@@ -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 8c5de6ef6..3b6de7178 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", |