[bugs] [Tickets] New ticket (79): opendir does not always return .
and .. as first entries
bugs at bugs.horde.org
bugs at bugs.horde.org
Thu Apr 15 04:07:57 PDT 2004
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
-Ticket 79
-Queue: Chora
-Created By:
-Summary:
opendir does not always return . and .. as first entries
Comment by mrness at loginet.ro on Thu Apr 15 04:07:57 2004 (today):
In file lib/CVSLib/Directory.php, function browseDir assumes that the first
2 entries returned by @readdir are always . and .., which it isn't true.
I've commented those 2 readdirs and put
if($name == "." || $name == "..")
continue;
at the begginning of while loop.
--
http://bugs.horde.org/details.php?id=79
--
This mail was automatically generated by Tickets (http://bugs.horde.org/).
If you believe you have recieved this mail in error, please contact Horde
Development Team <dev at lists.horde.org>.
More information about the bugs
mailing list