Re: Re: WARNING : PEAR_PackageFileManager2 and PHP5 (realpath function)

From: Date: Wed, 14 Nov 2007 10:34:07 +0000
Subject: Re: Re: WARNING : PEAR_PackageFileManager2 and PHP5 (realpath function)
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-48455@lists.php.net to get a copy of this message
On Nov 13, 2007 6:45 PM, Laurent Laville <pear@laurent-laville.org> wrote: > Carsten Wiedmann a écrit : > > Laurent Laville schrieb: > > > >> Now I realize that the problem came from PHP 5 itself and realpath() > >> function. > >> > >> I have not yet tested it under *Nix, but only on Windows platform (CLI > >> or Apache module) > >> > >> Realpath of a directory gave me a trailing "\" with PHP 5.2.4 and even > >> now with PHP 5.2.5, but not with PHP 4.4.7 > > > > Just to inform you: > > Since the current snaps of PHP5.2/5.3/6.0 (Windows), this have been > > changed back to the normal behaviour: > > Resulting paths have no trailing slash. > > > > BTW curious: > > This changed behaviour was only in realpath(), but not in > > DirectoryIterator::getRealPath(). > > > > > > Regards, > > Carsten > Hi Carsten, > > Thanks to take me aware of this situation. Probably a link for everyone > to clarify bug (special thanks to author) > > http://bugs.php.net/bug.php?id=43248 > I had this problem about 2 weeks ago or so when I was trying to package pearweb and I found the patch Lorenzo made and informed Tim he'd need to make a release asap and yet I still haven't gotten a response from him, does anyone know if he's just too busy or what ? Might be advisable that Greg does this release just so that windows users with 5.2.4 can actually package things without having to do some patching or I can take it upon my self to do it as a QA member. Regards Helgi

« previous php.pear.dev (#48455) next »