httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <>
Subject Re: Help with apache installation! (fwd)
Date Wed, 05 Aug 1998 07:04:30 GMT
Anyone confirm either way?

initgroups() man page on dgux says it returns 1 for failure, but that
makes no sense.

Is a PR on it...

---------- Forwarded message ----------
Date: Tue, 4 Aug 1998 22:16:15 -0700 (MST)
From: Jim Davis <jdavis@lectura.CS.Arizona.EDU>
Newsgroups: comp.infosystems.www.servers.unix
Subject: Re: Help with apache installation!

In article <6q7i23$hd8$> you write:
: > 
: >   Upon successful completion, the initgroups() function returns 0 (zero). If
: >   the initgroups() function fails, 1 is returned and errno is set to indicate
: >   the error.
:That is very bastard and I'm not too sure what to think of it.

A little test program on a 4.0B DUX system suggests that's a typo:
initgroups(jdavis,-1) returns -1, (as does running the test program
without being root), while initgroups(jdavis,valid_group) returns 0.
The manpage on that system does say it returns 1 on error.

View raw message