aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/grp.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-01-25 16:34:32 +0000
committerChristopher Faylor <me@cgf.cx>2003-01-25 16:34:32 +0000
commita53ddfe6c29df694c1e4c84179f3f4e95e3dbf06 (patch)
treed799d1c11b1fb9712aafa7b471c34283ff935c1d /winsup/cygwin/grp.cc
parent4f7e12dd266a28d72693b090e3ae8d2a49926005 (diff)
downloadnewlib-a53ddfe6c29df694c1e4c84179f3f4e95e3dbf06.zip
newlib-a53ddfe6c29df694c1e4c84179f3f4e95e3dbf06.tar.gz
newlib-a53ddfe6c29df694c1e4c84179f3f4e95e3dbf06.tar.bz2
* pwdgrp.cc (pwdgrp::reparse): Declare.
* uinfo.cc (pwdgrp::reparse): Define. * grp.cc (pwdgrp::parse_group): Use.
Diffstat (limited to 'winsup/cygwin/grp.cc')
-rw-r--r--winsup/cygwin/grp.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/grp.cc b/winsup/cygwin/grp.cc
index 9cce888..b4b590b 100644
--- a/winsup/cygwin/grp.cc
+++ b/winsup/cygwin/grp.cc
@@ -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;