Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:16166 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79051 invoked by uid 1010); 5 May 2005 11:42:14 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 40602 invoked from network); 5 May 2005 11:19:20 -0000 Received: from unknown (HELO fastmail.fm) (127.0.0.1) by localhost with SMTP; 5 May 2005 11:19:20 -0000 X-Host-Fingerprint: 66.111.4.26 out2.smtp.messagingengine.com Received: from ([66.111.4.26:56450] helo=out2.smtp.messagingengine.com) by pb1.pair.com (ecelerity 1.2.12rc1 r(5476:5477)) with SMTP id 74/C3-00155-2310A724 for ; Thu, 05 May 2005 07:19:15 -0400 Received: from web2.messagingengine.com (web2.internal [10.202.2.211]) by frontend1.messagingengine.com (Postfix) with ESMTP id 0FB10C89A1B; Thu, 5 May 2005 07:18:46 -0400 (EDT) Received: by web2.messagingengine.com (Postfix, from userid 99) id 8932246F; Thu, 5 May 2005 07:18:42 -0400 (EDT) Message-ID: <1115291922.31678.233427688@webmail.messagingengine.com> X-Sasl-Enc: akSrblws18enKKZYRVJGnRATsUuUPpJ4IAJeyYhoVsw+ 1115291922 To: sniper@php.net Cc: internals@lists.php.net Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.5 (F2.73; T1.001; A1.64; B3.05; Q3.03) Date: Thu, 05 May 2005 04:18:42 -0700 Subject: PATCH to check for availablity of getlogin and getgroups to posix extension From: kameshj@fastmail.fm ("Kamesh Jayachandran") 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