Re: Re: Bug in Archive_Tar

From: Date: Sun, 04 Nov 2001 21:59:52 +0000
Subject: Re: Re: Bug in Archive_Tar
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-2538@lists.php.net to get a copy of this message
Martin, I think I find the problem : The folder "Auth-0.10.20.3" is stored as a folder, but with an invalid 4096 'file' size. When listing the content of the archive, WinZip and PhpZip (PHP appli which is at the origin of Archive_Tar) are listing the folder name, and then jump 4096 to find the next file, ignoring the fact that it is a folder with a real size of 0. GNU Tar seams to prefer the file type (folder) than the size. I think the problem comes from a missing "clearstatcache()" at the right place, while doing the archive action. I will also correct the unarchive action to prefer file type than file size when it is a folder. I will post this on CVS. Vincent ----- Original Message ----- From: "Martin Jansen" <mail@martin-jansen.de> To: "Vincent Blavet" <vincent@blavet.net> Sent: Sunday, November 04, 2001 8:08 PM Subject: Re: [PEAR-DEV] Re: Bug in Archive_Tar > On Sun, 4 Nov 2001 20:06:07 +0100, Vincent Blavet wrote: > > >Martin, if the file generated by 'pear package' is not too big, can you send > >it to me, that I can troubleshoot the tar/gz files structure ? May be a > >specific faile format is not correctly handled by Archive_Tar. > > OK, here you are. > > - Martin > >

« previous php.pear.dev (#2538) next »