Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:17829 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13763 invoked by uid 1010); 11 Aug 2005 11:37:59 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 13748 invoked from network); 11 Aug 2005 11:37:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Aug 2005 11:37:58 -0000 X-Host-Fingerprint: 66.111.4.26 out2.smtp.messagingengine.com Received: from ([66.111.4.26:37912] helo=out2.smtp.messagingengine.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id CC/26-24081-6983BF24 for ; Thu, 11 Aug 2005 07:37:58 -0400 Received: from frontend1.internal (frontend1.internal [10.202.2.150]) by frontend1.messagingengine.com (Postfix) with ESMTP id BD914CC9F49 for ; Thu, 11 Aug 2005 07:37:54 -0400 (EDT) Received: from web1.messagingengine.com ([10.202.2.210]) by frontend1.internal (MEProxy); Thu, 11 Aug 2005 07:37:54 -0400 Received: by web1.messagingengine.com (Postfix, from userid 99) id BC5F6BA51; Thu, 11 Aug 2005 07:37:54 -0400 (EDT) Message-ID: <1123760274.4692.240461014@webmail.messagingengine.com> X-Sasl-Enc: /AM9NHmzbC8nrSpPuo9UWuB7+qkMkyHPUSTotYC0L0Du 1123760274 To: 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, 11 Aug 2005 17:07:54 +0530 Subject: realpath is not available in all LibCs From: kameshj@fastmail.fm ("Kamesh Jayachandran") Hi, Version PHP 5.1 file main/php_init.c function int php_init_config() uses realpath. In NetWare our earlier releases of LibC SDK has no realpath implementation. I could see the following lines in TSRM/tsrm_virtual_cwd.c #ifndef HAVE_REALPATH #define realpath(x,y) strcpy(y,x) #endif Why not this be in TSRM/tsrm_virtual_cwd.h so that it will work in all the cases. Can I go ahead and checkin this? With regards Kamesh Jayachandran -- http://www.fastmail.fm - Does exactly what it says on the tin