#23931 [Asn->Csd]: Archive_Tar long filenames not recognized by Winzip or PicoZip

From: Date: Tue, 24 Jun 2003 21:23:25 +0000
Subject: #23931 [Asn->Csd]: Archive_Tar long filenames not recognized by Winzip or PicoZip
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-17681@lists.php.net to get a copy of this message
ID: 23931 Updated by: vblavet@php.net Reported By: greg at chiaraquartet dot net -Status: Assigned +Status: Closed Bug Type: PEAR related Operating System: Windows XP PHP Version: 4.3.2 Assigned To: vblavet New Comment: This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Added a new attribute in Archive_Tar to change the separator while adding several files in a single char string. This attribute must be set with the new method setAttribute(). The default separator remains ' ' for backward Compatibility. Sample : $archive->setAttribute(ARCHIVE_TAR_ATT_SEPARATOR, ','); Previous Comments: ------------------------------------------------------------------------ [2003-05-31 18:10:34] greg at chiaraquartet dot net Hi, After applying fixes to bugs in System.php, and Packager.php relating to other issues, and changing the separator for createModify to ";" instead of " ", the generated .tgz can't be extracted by either Winzip or PicoZip. In Winzip, the files whose paths are longer than 99 characters appear to be truncated 1 letter short, so basicindex.tpl becomes basicindex.tp In PicoZip, the files all have 100666 added to their end so basicindex.tpl becomes basicindex.tp100666 I can't tell you if this is a problem in both Winzip and PicoZip or a problem in Archive_Tar, but it might be a good idea to support 2 of the most popular extraction tools. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23931&edit=1

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