Re: Regarding Archive_Tar and infinite loop.

From: Date: Fri, 16 Jun 2006 13:23:31 +0000
Subject: Re: Regarding Archive_Tar and infinite loop.
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-24398@lists.php.net to get a copy of this message
Not much help on the problem, however, I am using db_backup with the option of generating the tar archive and everything works fine. Therefore, I do not think the problem is with Archive_Tar. Alexey Borzov <borz_off@cs.msu. su> To Ed Zenisek <ed@duskrider.com> 06/16/2006 02:28 cc AM pear-general@lists.php.net Subject Re: [PEAR] Regarding Archive_Tar and infinite loop. 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? -- PEAR General Mailing List (http: //pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.pear.general (#24398) next »