PATCH to check for availablity of getlogin and getgroups to posix extension

php.internals

Kamesh Jayachandran

21 years ago
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

Jani Taskinen

21 years ago
Patches applied to all branches. Just in case. :) --Jani On Thu, 5 May 2005, Kamesh Jayachandran wrote:
> 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 > >
-- Donate @ http://pecl.php.net/wishlist.php/sniper