Re: Regarding Archive_Tar and infinite loop.
| From: | Alexey Borzov | Date: | Fri, 16 Jun 2006 07:28:03 +0000 |
| Subject: | Re: Regarding Archive_Tar and infinite loop. | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-24396@lists.php.net to get a copy of this message | ||
Hi,
Ed Zenisek wrote:
When I run the script, I do eventually get a tar.gz file, however it only contians one .sql file repeated over and over (presumably until some internal stop mechanism kicks in and halts the script). This file is located within the 'days' folder inside the tar.gz file. It looks something like
[]days
my_backup.2006-07-13.sql
my_backup.2006-07-13.sql
my_backup.2006-07-13.sql
my_backup.2006-07-13.sql
my_backup.2006-07-13.sql
etc.
etc.
I think I have it narrowed down to the for statement in _AddList, however I could be mistaken.
for ($j=0; ($j < count($p_list)) && ($v_result); $j++) {
It seems to be the only place a loop could occur.
I don't see this line in current version of Archive_Tar. Can you try upgrading the package and checking whether it fixes the problem?