Re: File_Archive
| From: | Pablo Fischer | Date: | Wed, 17 Jan 2007 02:31:06 +0000 |
| Subject: | Re: File_Archive | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-45499@lists.php.net to get a copy of this message | ||
Hi,
> Hi Pablo,
>
> I believe the problem for bug #6546 that you've closed for File_Archive is still
> there. You need to find a test case where a directory is listed in an order
> such that '.' and '..' do not occur first. I believe that the patch
> supplied
> fixed the problem at least for my test cases, but I don't understand this
> package enough to say that it will definately fix the bug ;)
Hehe, lets see then..
> [dave@mozart contacts]$ ls -lUa
> total 20
> -rw-rw-r-- 1 dave dave 172 Jan 17 11:48 prospective.csv
> drwxrwxr-x 3 dave dave 4096 Jan 16 23:41 ..
> drwxr-xr-x 2 dave dave 4096 Jan 17 11:48 .
> -rw-r--r-- 1 dave dave 150 Jan 17 11:48 current.csv
> -rw-r--r-- 1 dave dave 146 Jan 17 11:48 assessors.csv
>
>
> Note that '.' and '..' do not come first. I've attached the zip file
> that was
> created from this directory.
>
> The files that are duplicated are the ones before '.' and '..', that is
> prospective.csv which is duplicated twice due to both '.' and '..'
> following
> it straight after.
Uhm, I'll check the code and try to find a fix. I'm not very
experienced with the package (I just sent some patches to Vincent some
time ago) so I don't promise a fast answer :-).
>
> My server is Fedora Core 4, running php 5.2.0, and the trunk of File_Archive
> freshly checked out of cvs ;)
>
> Can we reopen this bug or perhaps open another one?
Nah, use the same, just remember the bug
...
reopened.
Thanks and I'll try to do more test cases to know if its really
fixed ;-).
Cheers,
--
Pablo Fischer <pfischer@php.net>