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

From: Date: Wed, 09 May 2001 11:17:15 +0000
Subject: RE: [PHP-QA] test results for current CVS
References: 1 2  Groups: php.qa 
Request: Send a blank email to php-qa+get-3196@lists.php.net to get a copy of this message
Hi Andi, yes, I consider these two expectations (plus the (back)slash discrepancies) questionable. I don't question the other stuff as I've read Sascha's explanation of dirname() behavior. At 20:59 8.5. 2001, Andi Gutmans wrote the following: -------------------------------------------------------------- >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? >>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(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 ------end of quote------ cynic@mail.cz ------------- And the eyes of them both were opened and they saw that their files were world readable and writable, so they chmoded 600 their files. - Book of Installation chapt 3 sec 7

« previous php.qa (#3196) next »