From: Ben Gras Date: Wed, 15 Feb 2006 14:16:06 +0000 (+0000) Subject: Turn off debug in getsockname.c X-Git-Tag: v3.1.2a~359 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/ddns-confgen.html?a=commitdiff_plain;h=1116853ae93cad25d44d8182c51f9b7fda35ba0e;p=minix.git Turn off debug in getsockname.c allow NULL for setgroups argument --- diff --git a/lib/ip/getsockname.c b/lib/ip/getsockname.c index 034b247e3..c09604a0b 100644 --- a/lib/ip/getsockname.c +++ b/lib/ip/getsockname.c @@ -21,7 +21,7 @@ #include -#define DEBUG 1 +#define DEBUG 0 /* getsockname... diff --git a/lib/other/setgroups.c b/lib/other/setgroups.c index 8708c9f6e..25107ffe4 100644 --- a/lib/other/setgroups.c +++ b/lib/other/setgroups.c @@ -9,7 +9,7 @@ setgroups.c int setgroups(int ngroups, const gid_t *gidset) { - if(!gidset || ngroups > 1) { + if(ngroups > 1) { /* Supplementary groups not implemented */ errno= EINVAL; return -1;