problem when 0 is the name of a directory

Pixel Date pixeldate@hotmail.com
Wed, 07 Mar 2001 04:03:33 -0000


Line 91 of chora/lib/CVSLib/Directory.php should be changed from

        while ($name = readdir($DIR)) {

to

        while (($name = readdir($DIR)) != '') {

The original code causes the while loop to be exited when the name of a 
directory is 0.  I noticed this because I happen to have a directory named 0 
in CVS.



PixelDate.com

Get organized with the <a 
href="http://www.pixeldate.com/organizer">PixelDate.com Organizer</a>!

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com