1 --- ../cache/alpine-2.20/imap/src/mtest/mtest.c 2015-01-12 05:12:25.501178422 +0000
2 +++ ./imap/src/mtest/mtest.c 2016-12-11 21:13:22.392577687 +0000
6 curusr = cpystr (((s = myusername ()) && *s) ? s : "somebody");
10 - struct passwd *pwd = getpwnam (curusr);
12 - strcpy (tmp,pwd->pw_gecos);
13 - /* dyke out the office and phone poop */
14 - if (suffix = strchr (tmp,',')) suffix[0] = '\0';
15 - strcpy (personalname,tmp);/* make a permanent copy of it */
17 - else personalname[0] = '\0';
20 personalname[0] = '\0';
22 curhst = cpystr (mylocalhost ());
23 puts ("MTest -- C client test program");
24 if (!*personalname) prompt ("Personal name: ",personalname, sizeof(personalname));