From e182f7f220d9f391c6d67964e4c0ec4a158d6be3 Mon Sep 17 00:00:00 2001 From: Peter Hawkins Date: Fri, 14 Aug 1998 03:18:32 +0000 Subject: Submitted by: Peter Hawkins Add functionality for support for more than 4 subfields within gcos. chsh, chpass etc did not parse beyond the 4th field previously and so truncated gcos on updating the database. --- chpass/table.c | 1 + 1 file changed, 1 insertion(+) (limited to 'chpass/table.c') diff --git a/chpass/table.c b/chpass/table.c index 3363e1d..eed097e 100644 --- a/chpass/table.c +++ b/chpass/table.c @@ -58,6 +58,7 @@ ENTRY list[] = { { "office phone", p_gecos, 0, 12, e2, }, { "home phone", p_gecos, 0, 10, e2, }, { "location", p_gecos, 0, 8, e2, }, + { "other information", p_gecos, 0, 11, e1, }, { "home directory", p_hdir, 1, 14, e1, }, { "shell", p_shell, 0, 5, e1, }, { NULL, 0, }, -- cgit v1.2.3-56-ge451