rename __getgrent so that it doesn't conflict with some libc's

This commit is contained in:
Russ Dill
2003-12-18 22:40:58 +00:00
parent 4e864a36b6
commit f796700cf0
7 changed files with 8 additions and 8 deletions

View File

@@ -33,7 +33,7 @@ struct group *getgrgid(const gid_t gid)
if ((grp_fd = open(bb_path_group_file, O_RDONLY)) < 0)
return NULL;
while ((group = __getgrent(grp_fd)) != NULL)
while ((group = bb_getgrent(grp_fd)) != NULL)
if (group->gr_gid == gid) {
close(grp_fd);
return group;