1 --- ../cache/alpine-2.20/pith/osdep/pw_stuff.c 2015-01-12 05:12:25.588178837 +0000
2 +++ ./pith/osdep/pw_stuff.c 2016-12-11 21:24:31.283700286 +0000
4 len = strlen(fname_to_utf8(unix_pwd->pw_name));
5 ui->login = (char *) malloc((len+1) * sizeof(char));
6 snprintf(ui->login, len+1, "%s", fname_to_utf8(unix_pwd->pw_name));
8 - if((s = gcos_name(unix_pwd->pw_gecos, unix_pwd->pw_name)) != NULL){
9 - len = strlen(fname_to_utf8(s));
10 - ui->fullname = (char *) malloc((len+1) * sizeof(char));
11 - snprintf(ui->fullname, len+1, "%s", fname_to_utf8(s));
21 - if((gn = gcos_name(pw->pw_gecos, name)) != NULL
22 - && (s = (char *) malloc(l = ((strlen(gn) + 1) * sizeof(char)))) != NULL)
23 - snprintf(s, l, "%s", gn);
28 return((char *) NULL);