version 1.13, 1998/03/30 06:59:31 |
version 1.14, 1998/05/28 10:17:49 |
|
|
} |
} |
(void)fclose(fp); |
(void)fclose(fp); |
|
|
|
if (list[E_NAME].save == NULL) |
|
list[E_NAME].save = ""; |
|
if (list[E_BPHONE].save == NULL) |
|
list[E_BPHONE].save = ""; |
|
if (list[E_HPHONE].save == NULL) |
|
list[E_HPHONE].save = ""; |
|
if (list[E_LOCATE].save == NULL) |
|
list[E_LOCATE].save = ""; |
|
|
/* Build the gecos field. */ |
/* Build the gecos field. */ |
len = strlen(list[E_NAME].save) + strlen(list[E_BPHONE].save) + |
len = strlen(list[E_NAME].save) + strlen(list[E_BPHONE].save) + |
strlen(list[E_HPHONE].save) + strlen(list[E_LOCATE].save) + 4; |
strlen(list[E_HPHONE].save) + strlen(list[E_LOCATE].save) + 4; |