* pwdgrp.cc (pwdgrp::reparse): Declare.

* uinfo.cc (pwdgrp::reparse): Define.
* grp.cc (pwdgrp::parse_group): Use.
This commit is contained in:
Christopher Faylor
2003-01-25 16:34:32 +00:00
parent 4f7e12dd26
commit a53ddfe6c2
4 changed files with 16 additions and 2 deletions

View File

@@ -61,6 +61,7 @@ pwdgrp::parse_group ()
char **namearray = (char **) calloc (i + 2, sizeof (char *));
if (namearray)
{
reparse (dp);
for (i = 0; (dp = next_str (',')); i++)
namearray[i] = dp;
namearray[i] = NULL;