PATCH to check for availablity of getlogin and getgroups to posix extension
| From: | Kamesh Jayachandran | Date: | Thu, 05 May 2005 11:18:42 +0000 |
| Subject: | PATCH to check for availablity of getlogin and getgroups to posix extension | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-16166@lists.php.net to get a copy of this message | ||
Hi Jani,
Netware LibC does not have getgroups implemented, it has getlogin
functionality in recent LibC.
As ext/posix/posix.c does not have #ifdef HAVE_GETLOGIN and #ifdef
HAVE_GETGROUPS check before making use of getlogin and getgroups
functionality, NetWare cross compile fails.
I do ./configure --disable-posix to get through with the comilation. I
am interested in having this extension as a part of our php5, I have a
patch to check for the existence of getlogin and getgroups method.
Please apply the same.
http://puggy.symonds.net/~kameshj/posix.c.patch.5.0
http://puggy.symonds.net/~kameshj/posixconfig.m4.patch.5.0
With regards
Kamesh Jayachandran