packages/libs/libnfsidmap/patches/000-no-getgrouplist.patch
olli 35ae0c0930 libnfsidmap:
* cleanup Makefile
 * fix compile
 * refresh patch using quilt

git-svn-id: svn://svn.openwrt.org/openwrt/packages@7935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-12 09:44:31 +00:00

18 lines
508 B
Diff

Index: libnfsidmap-0.20/nss.c
===================================================================
--- libnfsidmap-0.20.orig/nss.c 2007-07-12 11:42:09.000000000 +0200
+++ libnfsidmap-0.20/nss.c 2007-07-12 11:42:09.000000000 +0200
@@ -295,9 +295,9 @@
ret = -ENOENT;
goto out;
}
- if (getgrouplist(pw->pw_name, pw->pw_gid, groups, ngroups) < 0)
- ret = -ERANGE;
- free(pw);
+ // if (getgrouplist(pw->pw_name, pw->pw_gid, groups, ngroups) < 0)
+ // ret = -ERANGE;
+ // free(pw);
out:
return ret;
}