3f5a6175020be65ecce1ca7687bb6da2f92b5c29
[openwrt/svn-archive/archive.git] / libs / libnfsidmap / patches / 000-no-getgrouplist.patch
1 --- libnfsidmap-0.20/nss.c~ 2007-02-05 08:13:05.000000000 -0800
2 +++ libnfsidmap-0.20/nss.c 2007-06-07 15:18:45.000000000 -0700
3 @@ -295,9 +295,9 @@
4 ret = -ENOENT;
5 goto out;
6 }
7 - if (getgrouplist(pw->pw_name, pw->pw_gid, groups, ngroups) < 0)
8 - ret = -ERANGE;
9 - free(pw);
10 + // if (getgrouplist(pw->pw_name, pw->pw_gid, groups, ngroups) < 0)
11 + // ret = -ERANGE;
12 + // free(pw);
13 out:
14 return ret;
15 }