Permalink
Browse files

comment out function endgrent() because it will cause undefined refer…

…ence error
  • Loading branch information...
1 parent 3255603 commit 74d8ec899cdea127a58fda1aebdf26cc02f79a7a Botao Sun committed Sep 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 libbb/change_identity.c
@@ -35,7 +35,7 @@ void FAST_FUNC change_identity(const struct passwd *pw)
{
if (initgroups(pw->pw_name, pw->pw_gid) == -1)
bb_perror_msg_and_die("can't set groups");
- endgrent(); /* helps to close a fd used internally by libc */
+ // endgrent(); /* helps to close a fd used internally by libc */
xsetgid(pw->pw_gid);
xsetuid(pw->pw_uid);
}

0 comments on commit 74d8ec8

Please sign in to comment.