Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Sep 1998 16:25:48 +0000
From:      Niall Smart <rotel@indigo.ie>
To:        hackers@FreeBSD.ORG
Subject:   Behaviour of initgroups is not good
Message-ID:  <199809201525.QAA02949@indigo.ie>

next in thread | raw e-mail | index | archive | help
Hi,

If initgroups() fails it prints an error message to stderr before
returning -1.  Why does it do this?  Since when have libc functions
taken upon themselves to print error messages to stderr on failure
in addition to returning -1?  This is causing problems for me
setting up a chrooted non-root cvs pserver.


Niall

-- 
Niall Smart, rotel@indigo.ie.
Amaze your friends and annoy your enemies:
echo '#define if(x) if (!(x))' >> /usr/include/stdio.h

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809201525.QAA02949>