RE: [PHP-QA] test results for current CVS

From: Date: Tue, 08 May 2001 18:59:31 +0000
Subject: RE: [PHP-QA] test results for current CVS
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-3187@lists.php.net to get a copy of this message
At 07:35 PM 5/8/2001 +0100, Liz wrote:
Besides the slashes I don't see where there's a bug. Can you please point it out? As a stab in the dark..
dirname(/foo/) == /
I would have expected this to be /foo by the looks of it
This is the same behavior as the Linux dirname.
dirname(/foo) == /
And this /foo
same
dirname(/foo/bar) == /foo
same
This depends if bar was a dir.
dirname(d:\foo\bar.inc) == .
this should be d:\foo perhaps?
This sounds like a bug but I'd like to know if this is the only thing which is buggy for Cynic.
dirname(/) == / dirname(.../foo) == ...
Again, depends if foo is a directory
Same as Linux
dirname(./foo) == .
and again
Same as Linux
dirname(foobar///) == . dirname(c:\foo) == .
if foo is a directory should be c:\foo or c:\ surely? or at least \ not .?
Should probably be c:\ Andi

« previous php.qa (#3187) next »